Method: Pay::Braintree.setup
- Defined in:
- lib/pay/braintree.rb
.setup ⇒ Object
22 23 24 25 26 27 28 29 30 31 |
# File 'lib/pay/braintree.rb', line 22 def self.setup Pay.braintree_gateway = ::Braintree::Gateway.new( environment: environment.to_sym, merchant_id: merchant_id, public_key: public_key, private_key: private_key ) configure_webhooks end |