Braintree v0.4.0 Braintree

A native Braintree client library for Elixir. Only a subset of the API is supported and this is a work in progress. That said, it is already uned in production, and any modules that have been implemented can be used.

For general reference please see: https://developers.braintreepayments.com/reference/overview

Summary

Functions

Convenience function for retrieving braintree specfic environment values, but will raise an exception if values are missing

Functions

get_env(key, default \\ nil)

Specs

get_env(atom, any) :: any

Convenience function for retrieving braintree specfic environment values, but will raise an exception if values are missing.

Example

iex> Braintree.get_env(:random_value)
** (Braintree.ConfigError) missing config for :random_value