Class: Transbank::Webpay::Oneclick::MallInscriptionStartResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/transbank/sdk/oneclick/inscription/responses/mall_inscription_start_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#tokenObject

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_webpayObject

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