Class: ActiveMerchant::Billing::IdealResponse
- Inherits:
-
Response
- Object
- Response
- ActiveMerchant::Billing::IdealResponse
show all
- Defined in:
- lib/active_merchant/billing/gateways/ideal/ideal_response.rb
Instance Attribute Summary
Attributes inherited from Response
#authorization, #avs_result, #cvv_result, #emv_authorization, #error_code, #message, #params, #test
Instance Method Summary
collapse
Methods inherited from Response
#fraud_review?, #initialize, #success?, #test?
Instance Method Details
#error ⇒ Object
23
24
25
|
# File 'lib/active_merchant/billing/gateways/ideal/ideal_response.rb', line 23
def error
@params.values[0]['Error']
end
|
#issuer_list ⇒ Object
5
6
7
8
9
10
11
12
13
|
# File 'lib/active_merchant/billing/gateways/ideal/ideal_response.rb', line 5
def issuer_list
list = @params.values[0]['Directory']['Issuer']
case list
when Hash
return [list]
when Array
return list
end
end
|
#service_url ⇒ Object
15
16
17
|
# File 'lib/active_merchant/billing/gateways/ideal/ideal_response.rb', line 15
def service_url
@params.values[0]['Issuer']['issuerAuthenticationURL']
end
|
#transaction ⇒ Object
19
20
21
|
# File 'lib/active_merchant/billing/gateways/ideal/ideal_response.rb', line 19
def transaction
@params.values[0]['Transaction']
end
|