cloudex v0.2.1 Cloudex.EnvOptions

A simple module to get System Environment Variables (ENV VARS)

Link to this section Summary

Functions

Pass a Map to merge system variables with. Uses the keys of the map to match the system vars with

Same as merge, but only merges settings which have a nil value in the given map

Link to this section Functions

Link to this function merge(options)
merge(options :: map) :: map

Pass a Map to merge system variables with. Uses the keys of the map to match the system vars with

Examples

Cloudex.EnvOptions.merge %{my_env_key: nil}
> %{my_env_key: "value from env"}
Link to this function merge_missing_settings(options)
merge_missing_settings(options :: map) :: map

Same as merge, but only merges settings which have a nil value in the given map