Class: Stripe::V2::CoreService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::V2::CoreService
- Defined in:
- lib/stripe/services/v2/core_service.rb
Instance Attribute Summary collapse
-
#account_links ⇒ Object
readonly
Returns the value of attribute account_links.
-
#account_tokens ⇒ Object
readonly
Returns the value of attribute account_tokens.
-
#accounts ⇒ Object
readonly
Returns the value of attribute accounts.
-
#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 14 15 16 |
# File 'lib/stripe/services/v2/core_service.rb', line 9 def initialize(requestor) super @accounts = Stripe::V2::Core::AccountService.new(@requestor) @account_links = Stripe::V2::Core::AccountLinkService.new(@requestor) @account_tokens = Stripe::V2::Core::AccountTokenService.new(@requestor) @events = Stripe::V2::Core::EventService.new(@requestor) @event_destinations = Stripe::V2::Core::EventDestinationService.new(@requestor) end |
Instance Attribute Details
#account_links ⇒ Object (readonly)
Returns the value of attribute account_links.
7 8 9 |
# File 'lib/stripe/services/v2/core_service.rb', line 7 def account_links @account_links end |
#account_tokens ⇒ Object (readonly)
Returns the value of attribute account_tokens.
7 8 9 |
# File 'lib/stripe/services/v2/core_service.rb', line 7 def account_tokens @account_tokens end |
#accounts ⇒ Object (readonly)
Returns the value of attribute accounts.
7 8 9 |
# File 'lib/stripe/services/v2/core_service.rb', line 7 def accounts @accounts end |
#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 |