Class: Transbank::Webpay::Oneclick::MallInscriptionStartResponse
- Inherits:
-
Object
- Object
- Transbank::Webpay::Oneclick::MallInscriptionStartResponse
- Defined in:
- lib/transbank/sdk/oneclick/inscription/responses/mall_inscription_start_response.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
Returns the value of attribute token.
-
#url_webpay ⇒ Object
Returns the value of attribute url_webpay.
Instance Method Summary collapse
-
#initialize(json) ⇒ MallInscriptionStartResponse
constructor
A new instance of MallInscriptionStartResponse.
Constructor Details
#initialize(json) ⇒ MallInscriptionStartResponse
Returns a new instance of MallInscriptionStartResponse.
7 8 9 10 |
# File 'lib/transbank/sdk/oneclick/inscription/responses/mall_inscription_start_response.rb', line 7 def initialize(json) @token = json['token'] @url_webpay = json['url_webpay'] end |
Instance Attribute Details
#token ⇒ Object
Returns the value of attribute token.
5 6 7 |
# File 'lib/transbank/sdk/oneclick/inscription/responses/mall_inscription_start_response.rb', line 5 def token @token end |
#url_webpay ⇒ Object
Returns the value of attribute url_webpay.
5 6 7 |
# File 'lib/transbank/sdk/oneclick/inscription/responses/mall_inscription_start_response.rb', line 5 def url_webpay @url_webpay end |