Class: Stripe::CheckoutService

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

Constructor Details

#initialize(requestor) ⇒ CheckoutService

Returns a new instance of CheckoutService.



8
9
10
11
# File 'lib/stripe/services/checkout_service.rb', line 8

def initialize(requestor)
  super(requestor)
  @sessions = Stripe::Checkout::SessionService.new(@requestor)
end

Instance Attribute Details

#sessionsObject (readonly)

Returns the value of attribute sessions.



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

def sessions
  @sessions
end