Method: Transbank::Webpay::WebpayPlus::TransactionCreateResponse#initialize

Defined in:
lib/transbank/sdk/webpay/webpay_plus/responses/transaction_create_response.rb

#initialize(json) ⇒ TransactionCreateResponse

Returns a new instance of TransactionCreateResponse.



7
8
9
10
# File 'lib/transbank/sdk/webpay/webpay_plus/responses/transaction_create_response.rb', line 7

def initialize(json)
  self.token = json['token']
  self.url = json['url']
end