lib/active_merchant/billing/gateways/plugnpay.rb in activemerchant-1.13.0 vs lib/active_merchant/billing/gateways/plugnpay.rb in activemerchant-1.14.0
- old
+ new
@@ -154,10 +154,10 @@
def credit(money, identification_or_creditcard, options = {})
post = PlugnpayPostData.new
add_amount(post, money, options)
if identification_or_creditcard.is_a?(String)
- warn CREDIT_DEPRECATION_MESSAGE
+ deprecated CREDIT_DEPRECATION_MESSAGE
refund(money, identification_or_creditcard, options)
else
add_creditcard(post, identification_or_creditcard)
add_addresses(post, options)
add_customer_data(post, options)