Class: Transbank::TransaccionCompleta::TransactionCreateResponse
- Inherits:
-
Object
- Object
- Transbank::TransaccionCompleta::TransactionCreateResponse
- Defined in:
- lib/transbank/sdk/transaccion_completa/responses/transaction_create_response.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(json) ⇒ TransactionCreateResponse
constructor
A new instance of TransactionCreateResponse.
Constructor Details
#initialize(json) ⇒ TransactionCreateResponse
Returns a new instance of TransactionCreateResponse.
5 6 7 |
# File 'lib/transbank/sdk/transaccion_completa/responses/transaction_create_response.rb', line 5 def initialize(json) @token = json['token'] end |
Instance Attribute Details
#token ⇒ Object
Returns the value of attribute token.
4 5 6 |
# File 'lib/transbank/sdk/transaccion_completa/responses/transaction_create_response.rb', line 4 def token @token end |