lib/active_merchant/billing/gateways/payscout.rb in activemerchant-1.85.0 vs lib/active_merchant/billing/gateways/payscout.rb in activemerchant-1.86.0

- old
+ new

@@ -100,11 +100,11 @@ post[:firstname] = creditcard.first_name post[:lastname] = creditcard.last_name end def parse(body) - Hash[body.split('&').map{|x|x.split('=')}] + Hash[body.split('&').map{|x| x.split('=')}] end def commit(action, money, parameters) parameters[:amount] = amount(money) unless action == 'void' url = (test? ? self.test_url : self.live_url) @@ -156,6 +156,5 @@ request end end end end -