lib/active_merchant/billing/gateways/paymill.rb in activemerchant-1.87.0 vs lib/active_merchant/billing/gateways/paymill.rb in activemerchant-1.88.0

- old
+ new

@@ -127,15 +127,15 @@ def action_with_token(action, money, payment_method, options) options[:money] = money case payment_method when String - self.send("#{action}_with_token", money, payment_method, options) + self.send("#{action}_with_token", money, payment_method, options) else - MultiResponse.run do |r| - r.process { save_card(payment_method, options) } - r.process { self.send("#{action}_with_token", money, r.authorization, options) } - end + MultiResponse.run do |r| + r.process { save_card(payment_method, options) } + r.process { self.send("#{action}_with_token", money, r.authorization, options) } + end end end def purchase_with_token(money, card_token, options) post = {}