Class: Datatrans::JSON::Transaction::AuthorizeResponse

Inherits:
InitResponse show all
Defined in:
lib/datatrans/json/transaction/init.rb

Instance Attribute Summary

Attributes inherited from Response

#datatrans, #params

Instance Method Summary collapse

Methods inherited from InitResponse

#successful?

Methods inherited from Response

#error_code, #error_message, #successful?

Constructor Details

#initialize(datatrans, params) ⇒ AuthorizeResponse

Returns a new instance of AuthorizeResponse.



56
57
58
59
# File 'lib/datatrans/json/transaction/init.rb', line 56

def initialize(datatrans, params)
  warn "[DEPRECATION] `Datatrans::JSON::Transaction::AuthorizeResponse` is deprecated.  Please use `Datatrans::JSON::Transaction::InitResponse` instead."
  super(datatrans, params)
end