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