Class: Stripe::SharedPaymentService

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

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_tokensObject (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_tokensObject (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