lib/active_merchant/billing/gateways/qbms.rb in activemerchant-1.13.0 vs lib/active_merchant/billing/gateways/qbms.rb in activemerchant-1.14.0
- old
+ new
@@ -102,10 +102,10 @@
# * <tt>identification</tt> -- The ID of the original transaction against which the credit is being issued.
# * <tt>options</tt> -- A hash of parameters.
#
#
def credit(money, identification, options = {})
- warn CREDIT_DEPRECATION_MESSAGE
+ deprecated CREDIT_DEPRECATION_MESSAGE
refund(money, identification, options = {})
end
def refund(money, identification, options = {})
commit(:refund, money, options.merge(:transaction_id => identification))