class Braintree::Config

Defined in:

config.cr

Constant Summary

PRODUCTION_URI = URI.parse("https://api.braintreegateway.com:443/")
STAGING_URI = URI.parse("https://api.sandbox.braintreegateway.com:443/")

Constructors

Instance Method Summary

Constructor Detail

def self.new(profile : String, enviroment : Nil | String = nil, merchant : Nil | String = nil, public_key : Nil | String = nil, private_key : Nil | String = nil, host = nil) #

[View source]

Instance Method Detail

def config_dir #

[View source]
def enviroment : String #

[View source]
def host : URI #

[View source]
def load : self #

[View source]
def merchant : String #

[View source]
def private_key : String #

[View source]
def profile : String #

[View source]
def public_key : String #

[View source]
def save : self #

[View source]
def setup : self #

[View source]