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.
229 230 231 232 233 234 |
# File 'lib/active_merchant/billing/gateways/netaxept.rb', line 229 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.
228 229 230 |
# File 'lib/active_merchant/billing/gateways/netaxept.rb', line 228 def error_detail @error_detail end |