Class: Stripe::V2::CoreService

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

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_destinationsObject (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

#eventsObject (readonly)

Returns the value of attribute events.



7
8
9
# File 'lib/stripe/services/v2/core_service.rb', line 7

def events
  @events
end