lib/active_merchant/billing/gateways/barclays_epdq.rb in activemerchant-1.13.0 vs lib/active_merchant/billing/gateways/barclays_epdq.rb in activemerchant-1.14.0
- old
+ new
@@ -62,10 +62,10 @@
# authorization is your unique order ID, not the authorization
# code returned by ePDQ
def credit(money, creditcard_or_authorization, options = {})
if creditcard_or_authorization.is_a?(String)
- warn CREDIT_DEPRECATION_MESSAGE
+ deprecated CREDIT_DEPRECATION_MESSAGE
refund(money, creditcard_or_authorization, options)
else
credit_new_order(money, creditcard_or_authorization, options)
end
end