Class: Transbank::Patpass::PatpassComercio::InscriptionStartResponse
- Inherits:
-
Object
- Object
- Transbank::Patpass::PatpassComercio::InscriptionStartResponse
- Defined in:
- lib/transbank/sdk/patpass/patpass_comercio/responses/inscription_start_response.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
Returns the value of attribute token.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(json) ⇒ InscriptionStartResponse
constructor
A new instance of InscriptionStartResponse.
Constructor Details
#initialize(json) ⇒ InscriptionStartResponse
Returns a new instance of InscriptionStartResponse.
6 7 8 9 |
# File 'lib/transbank/sdk/patpass/patpass_comercio/responses/inscription_start_response.rb', line 6 def initialize(json) self.token = json['token'] self.url = json['url'] end |
Instance Attribute Details
#token ⇒ Object
Returns the value of attribute token.
5 6 7 |
# File 'lib/transbank/sdk/patpass/patpass_comercio/responses/inscription_start_response.rb', line 5 def token @token end |
#url ⇒ Object
Returns the value of attribute url.
5 6 7 |
# File 'lib/transbank/sdk/patpass/patpass_comercio/responses/inscription_start_response.rb', line 5 def url @url end |