Class: Stripe::V2::Core::HealthService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::V2::Core::HealthService
- Defined in:
- lib/stripe/services/v2/core/health_service.rb
Instance Attribute Summary collapse
-
#alerts ⇒ Object
readonly
Returns the value of attribute alerts.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ HealthService
constructor
A new instance of HealthService.
Methods inherited from StripeService
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
#alerts ⇒ Object (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 |