# File lib/braintree/credit_card.rb, line 132 def credit(transaction_attributes) warn "[DEPRECATED] credit as an instance method is deprecated. Please use CreditCard.credit" @gateway.transaction.credit(transaction_attributes.merge(:payment_method_token => token)) end