# File lib/active_merchant/billing/gateways/braintree.rb, line 35 def purchase(money, payment_source, options = {}) post = {} add_invoice(post, options) add_payment_source(post, payment_source, options) add_address(post, payment_source, options) add_customer_data(post, options) commit('sale', money, post) end