ExTwilio.Config

Stores configuration variables used to communicate with Twilio's API.

Source

Summary

account_sid()

Returns the Twilio Account SID. Set it in mix.exs:

api_domain()

Returns the domain of the Twilio API. This will default to "api.twilio.com", but can be overridden using the following setting in mix.exs:

api_version()

Returns the version of the API that ExTwilio is going to talk to. Set it in mix.exs:

auth_token()

Returns the Twilio Auth Token for your account. Set it in mix.exs:

base_url()

Return the combined base URL of the Twilio API, using the configuration settings given

Functions

account_sid()

Returns the Twilio Account SID. Set it in mix.exs:

config :ex_twilio, account_sid: "YOUR_ACCOUNT_SID"
Source
api_domain()

Returns the domain of the Twilio API. This will default to "api.twilio.com", but can be overridden using the following setting in mix.exs:

config :ex_twilio, api_domain: "other.twilio.com"
Source
api_version()

Returns the version of the API that ExTwilio is going to talk to. Set it in mix.exs:

config :ex_twilio, api_version: "2015-05-06"
Source
auth_token()

Returns the Twilio Auth Token for your account. Set it in mix.exs:

config :ex_twilio, auth_token: "YOUR_AUTH_TOKEN"
Source
base_url()

Return the combined base URL of the Twilio API, using the configuration settings given.

Source