Class: Braintree::AddOnGateway
- Inherits:
-
Object
- Object
- Braintree::AddOnGateway
- Defined in:
- lib/braintree/add_on_gateway.rb
Instance Method Summary collapse
- #all ⇒ Object
-
#initialize(gateway) ⇒ AddOnGateway
constructor
A new instance of AddOnGateway.
Constructor Details
#initialize(gateway) ⇒ AddOnGateway
Returns a new instance of AddOnGateway.
3 4 5 6 7 |
# File 'lib/braintree/add_on_gateway.rb', line 3 def initialize(gateway) @gateway = gateway @config = gateway.config @config.assert_has_access_token_or_keys end |