Class: Stripe::V2Services

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

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

#billingObject (readonly)

Returns the value of attribute billing.



6
7
8
# File 'lib/stripe/services/v2_services.rb', line 6

def billing
  @billing
end

#coreObject (readonly)

Returns the value of attribute core.



6
7
8
# File 'lib/stripe/services/v2_services.rb', line 6

def core
  @core
end