Module: Braintree::Configuration


The following configuration attributes need to be set to use the gem:

  • merchant_id
  • public_key
  • private_key
  • environment

By default, the logger will log to STDOUT. The log level is set to info. The logger can be set to any Logger object.


Attributes
[RW] logger
[W] merchant_id
[W] private_key
[W] public_key

Public Class Methods
custom_user_agent=(custom_user_agent)
environment=(env)

Sets the Braintree environment to use. Valid values are :sandbox and :production

user_agent()

© Copyright 2009 Braintree Payment Solutions. All Rights Reserved.