Class: ActiveMerchant::Billing::NetaxeptGateway::Response
- Defined in:
- lib/active_merchant/billing/gateways/netaxept.rb
Instance Attribute Summary collapse
-
#error_detail ⇒ Object
readonly
Returns the value of attribute error_detail.
Attributes inherited from Response
#authorization, #avs_result, #cvv_result, #message, #params, #test
Instance Method Summary collapse
-
#initialize(success, message, raw, options) ⇒ Response
constructor
A new instance of Response.
Methods inherited from Response
#fraud_review?, #success?, #test?
Constructor Details
#initialize(success, message, raw, options) ⇒ Response
Returns a new instance of Response.
223 224 225 226 227 228 |
# File 'lib/active_merchant/billing/gateways/netaxept.rb', line 223 def initialize(success, , raw, ) super unless success @error_detail = raw[:processSetup]['Result']['ResponseText'] if raw[:processSetup] && raw[:processSetup]['Result'] end end |
Instance Attribute Details
#error_detail ⇒ Object (readonly)
Returns the value of attribute error_detail.
222 223 224 |
# File 'lib/active_merchant/billing/gateways/netaxept.rb', line 222 def error_detail @error_detail end |