Class: OldPlaid::ExchangeTokenResponse
- Inherits:
-
Object
- Object
- OldPlaid::ExchangeTokenResponse
- Defined in:
- lib/old_plaid/models/exchange_token_response.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#stripe_bank_account_token ⇒ Object
Returns the value of attribute stripe_bank_account_token.
Instance Method Summary collapse
-
#initialize(fields = {}) ⇒ ExchangeTokenResponse
constructor
A new instance of ExchangeTokenResponse.
Constructor Details
#initialize(fields = {}) ⇒ ExchangeTokenResponse
Returns a new instance of ExchangeTokenResponse.
6 7 8 9 |
# File 'lib/old_plaid/models/exchange_token_response.rb', line 6 def initialize(fields = {}) @access_token = fields['access_token'] @stripe_bank_account_token = fields['stripe_bank_account_token'] end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
3 4 5 |
# File 'lib/old_plaid/models/exchange_token_response.rb', line 3 def access_token @access_token end |
#stripe_bank_account_token ⇒ Object
Returns the value of attribute stripe_bank_account_token.
4 5 6 |
# File 'lib/old_plaid/models/exchange_token_response.rb', line 4 def stripe_bank_account_token @stripe_bank_account_token end |