lib/active_merchant/billing/gateways/merchant_one.rb in activemerchant-1.114.0 vs lib/active_merchant/billing/gateways/merchant_one.rb in activemerchant-1.116.0
- old
+ new
@@ -77,10 +77,10 @@
post['cvv'] = creditcard.verification_value
post['ccnumber'] = creditcard.number
post['ccexp'] = "#{sprintf('%02d', creditcard.month)}#{creditcard.year.to_s[-2, 2]}"
end
- def commit(action, money, parameters={})
+ def commit(action, money, parameters = {})
parameters['username'] = @options[:username]
parameters['password'] = @options[:password]
parse(ssl_post(BASE_URL, post_data(action, parameters)))
end