lib/active_merchant/billing/gateways/visanet_peru.rb in activemerchant-1.105.0 vs lib/active_merchant/billing/gateways/visanet_peru.rb in activemerchant-1.106.0
- old
+ new
@@ -153,13 +153,13 @@
else
Response.new(
success_from(response),
message_from(response, options, action),
response,
- :test => test?,
- :authorization => authorization_from(params, response, options),
- :error_code => response['errorCode']
+ test: test?,
+ authorization: authorization_from(params, response, options),
+ error_code: response['errorCode']
)
end
def headers
{
@@ -228,12 +228,12 @@
else
return Response.new(
false,
message_from(response, options, action),
response,
- :test => test?,
- :authorization => response['transactionUUID'],
- :error_code => response['errorCode']
+ test: test?,
+ authorization: response['transactionUUID'],
+ error_code: response['errorCode']
)
end
def unparsable_response(raw_response)
message = 'Invalid JSON response received from VisanetPeruGateway. Please contact VisanetPeruGateway if you continue to receive this message.'