View Source TehamaClient.Config (Tehama Elixir Client API v0.6.0)

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

Link to this section Summary

Functions

Returns the Base URL used for the API.

A light wrapper around Application.get_env/2, providing automatic support for {:system, "VAR"} tuples.

Link to this section Functions

Returns the Base URL used for the API.:

config :tehama_client_ex, api_base_url: "<base url>"
Link to this function

from_env(otp_app, key, default \\ nil)

View Source
@spec from_env(atom(), atom(), any()) :: any()

A light wrapper around Application.get_env/2, providing automatic support for {:system, "VAR"} tuples.

Link to this function

get_env(key, default \\ nil)

View Source