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