Class: Stripe::TestHelpers::SharedPaymentService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::TestHelpers::SharedPaymentService
- Defined in:
- lib/stripe/services/test_helpers/shared_payment_service.rb
Instance Attribute Summary collapse
-
#granted_tokens ⇒ Object
readonly
Returns the value of attribute granted_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.
9 10 11 12 |
# File 'lib/stripe/services/test_helpers/shared_payment_service.rb', line 9 def initialize(requestor) super @granted_tokens = Stripe::TestHelpers::SharedPayment::GrantedTokenService.new(@requestor) end |
Instance Attribute Details
#granted_tokens ⇒ Object (readonly)
Returns the value of attribute granted_tokens.
7 8 9 |
# File 'lib/stripe/services/test_helpers/shared_payment_service.rb', line 7 def granted_tokens @granted_tokens end |