lib/active_merchant/billing/gateways/fat_zebra.rb in activemerchant-1.43.3 vs lib/active_merchant/billing/gateways/fat_zebra.rb in activemerchant-1.44.0
- old
+ new
@@ -85,10 +85,10 @@
post[:card_holder] = creditcard.name if creditcard.name
elsif creditcard.is_a?(String)
post[:card_token] = creditcard
post[:cvv] = options[:cvv]
elsif creditcard.is_a?(Hash)
- deprecated "Passing the credit card as a Hash is deprecated. Use a String and put the (optional) CVV in the options hash instead."
+ ActiveMerchant.deprecated "Passing the credit card as a Hash is deprecated. Use a String and put the (optional) CVV in the options hash instead."
post[:card_token] = creditcard[:token]
post[:cvv] = creditcard[:cvv]
else
raise ArgumentError.new("Unknown credit card format #{creditcard.inspect}")
end