confy v0.2.0 Confy.Provider.MixEnv View Source

A Configuration Provider source based on Mix.env() / Application.get_env.

Link to this section Summary

Functions

By default, will try to use Application.get_all_env(YourConfigModule) to fetch the source's configuration. A differnt application name can be used by supplying a different application argument.

Link to this section Functions

Link to this function

new(application \\ nil, key \\ nil) View Source

By default, will try to use Application.get_all_env(YourConfigModule) to fetch the source's configuration. A differnt application name can be used by supplying a different application argument.

If the actual configuration is only inside one of the keys in this application, the second field key can also be provided.