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