lib/active_merchant/billing/gateways/cashnet.rb in activemerchant-1.133.0 vs lib/active_merchant/billing/gateways/cashnet.rb in activemerchant-1.137.0

- old
+ new

@@ -148,10 +148,10 @@ def parse(body) match = body.match(/<cngateway>(.*)<\/cngateway>/) return nil unless match - Hash[CGI::parse(match[1]).map { |k, v| [k.to_sym, v.first] }] + CGI::parse(match[1]).map { |k, v| [k.to_sym, v.first] }.to_h end def handle_response(response) if (200...300).cover?(response.code.to_i) return response.body