Class: Stripe::CheckoutService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::CheckoutService
- Defined in:
- lib/stripe/services/checkout_service.rb
Instance Attribute Summary collapse
-
#sessions ⇒ Object
readonly
Returns the value of attribute sessions.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ CheckoutService
constructor
A new instance of CheckoutService.
Methods inherited from StripeService
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
#sessions ⇒ Object (readonly)
Returns the value of attribute sessions.
6 7 8 |
# File 'lib/stripe/services/checkout_service.rb', line 6 def sessions @sessions end |