lib/active_merchant/billing/gateways/commercegate.rb in activemerchant-1.86.0 vs lib/active_merchant/billing/gateways/commercegate.rb in activemerchant-1.87.0
- old
+ new
@@ -109,11 +109,11 @@
def parse(body)
results = {}
body.split(/\&/).each do |pair|
- key,val = pair.split(%r{=})
+ key, val = pair.split(%r{=})
results[key] = CGI.unescape(val)
end
results
end
@@ -124,11 +124,11 @@
def message_from(response)
if response['returnText'].present?
response['returnText']
else
- 'Invalid response received from the CommerceGate API. ' +
- 'Please contact CommerceGate support if you continue to receive this message. ' +
+ 'Invalid response received from the CommerceGate API. ' \
+ 'Please contact CommerceGate support if you continue to receive this message. ' \
"(The raw response returned by the API was #{response.inspect})"
end
end
def post_data(parameters)