lib/active_merchant/billing/gateways/payscout.rb in activemerchant-1.86.0 vs lib/active_merchant/billing/gateways/payscout.rb in activemerchant-1.87.0
- old
+ new
@@ -100,10 +100,10 @@
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)