lib/active_merchant/billing/gateways/monei.rb in activemerchant-1.52.0 vs lib/active_merchant/billing/gateways/monei.rb in activemerchant-1.53.0
- old
+ new
@@ -43,10 +43,10 @@
# :billing_address Hash with billing address information
# :description Merchant created purchase description (optional)
# :currency Sale currency to override money object or default (optional)
#
# Returns Active Merchant response object
- def purchase(money, credit_card, options)
+ def purchase(money, credit_card, options={})
execute_new_order(:purchase, money, credit_card, options)
end
# Public: Performs authorization operation
#