Twilio.Config (twilio_elixir v0.1.1)

Copy Markdown View Source

Configuration management for the Twilio SDK.

Reads from application environment and supports per-client overrides.

Summary

Functions

Get the configured account SID.

Get the configured auth token.

Get the configured edge.

Get a config value.

Get the configured max retries (default: 0).

Get the configured region.

Functions

account_sid()

@spec account_sid() :: String.t() | nil

Get the configured account SID.

auth_token()

@spec auth_token() :: String.t() | nil

Get the configured auth token.

edge()

@spec edge() :: String.t() | nil

Get the configured edge.

get(key)

@spec get(atom()) :: term()

Get a config value.

max_retries()

@spec max_retries() :: non_neg_integer()

Get the configured max retries (default: 0).

region()

@spec region() :: String.t() | nil

Get the configured region.