Class: Stripe::V2::CoreService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::V2::CoreService
- Defined in:
- lib/stripe/services/v2/core_service.rb
Instance Attribute Summary collapse
-
#event_destinations ⇒ Object
readonly
Returns the value of attribute event_destinations.
-
#events ⇒ Object
readonly
Returns the value of attribute events.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ CoreService
constructor
A new instance of CoreService.
Methods inherited from StripeService
Constructor Details
#initialize(requestor) ⇒ CoreService
Returns a new instance of CoreService.
9 10 11 12 13 |
# File 'lib/stripe/services/v2/core_service.rb', line 9 def initialize(requestor) super(requestor) @event_destinations = Stripe::V2::Core::EventDestinationService.new(@requestor) @events = Stripe::V2::Core::EventService.new(@requestor) end |
Instance Attribute Details
#event_destinations ⇒ Object (readonly)
Returns the value of attribute event_destinations.
7 8 9 |
# File 'lib/stripe/services/v2/core_service.rb', line 7 def event_destinations @event_destinations end |
#events ⇒ Object (readonly)
Returns the value of attribute events.
7 8 9 |
# File 'lib/stripe/services/v2/core_service.rb', line 7 def events @events end |