envex v0.1.0 Envex View Source
Link to this section Summary
Functions
Fetches key from the default namespace config, and prepare it with _get/3
Fetches key from the default namespace config, and prepare it with _prepare_map/3
Fetches a value from the config, or from the environment if {:system, “VAR”} is provided. An optional default value can be provided if desired
Same as get/3, but returns the result as an integer. If the value cannot be converted to an integer, the default is returned instead
Same as get_integer/3, but when you have integers in the map
Same as get/3, but when you has map
Link to this section Functions
Fetches key from the default namespace config, and prepare it with _get/3.
endpoint_map(atom, term | nil) :: Keyword.t
Fetches key from the default namespace config, and prepare it with _prepare_map/3.
get(atom, atom, term | nil) :: term
Fetches a value from the config, or from the environment if {:system, “VAR”} is provided. An optional default value can be provided if desired.
integer(atom, atom, integer) :: integer
Same as get/3, but returns the result as an integer. If the value cannot be converted to an integer, the default is returned instead.
integer_map(atom, atom, integer) :: Keyword.t
Same as get_integer/3, but when you have integers in the map.
map(atom, atom, term | nil) :: Keyword.t
Same as get/3, but when you has map.