lib/active_merchant/billing/gateways/merchant_one.rb in activemerchant-1.101.0 vs lib/active_merchant/billing/gateways/merchant_one.rb in activemerchant-1.102.0
- old
+ new
@@ -95,10 +95,10 @@
end
ret.to_s
end
def parse(data)
- responses = CGI.parse(data).inject({}) { |h, (k, v)| h[k] = v.first; h }
+ responses = CGI.parse(data).inject({}) { |h, (k, v)| h[k] = v.first; h }
Response.new(
(responses['response'].to_i == 1),
responses['responsetext'],
responses,
:test => test?,