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