Class: Stripe::V2::Core::HealthService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/v2/core/health_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

Constructor Details

#initialize(requestor) ⇒ HealthService

Returns a new instance of HealthService.



10
11
12
13
# File 'lib/stripe/services/v2/core/health_service.rb', line 10

def initialize(requestor)
  super
  @alerts = Stripe::V2::Core::Health::AlertService.new(@requestor)
end

Instance Attribute Details

#alertsObject (readonly)

Returns the value of attribute alerts.



8
9
10
# File 'lib/stripe/services/v2/core/health_service.rb', line 8

def alerts
  @alerts
end