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