# File lib/active_merchant/billing/gateways/barclays_epdq.rb, line 65 def credit(money, creditcard_or_authorization, options = {}) if creditcard_or_authorization.is_a?(String) deprecated CREDIT_DEPRECATION_MESSAGE refund(money, creditcard_or_authorization, options) else credit_new_order(money, creditcard_or_authorization, options) end end