View Source Bonfire.Common.Config (bonfire_umbrella v0.9.0-classic-beta.15)
Link to this section Summary
Functions
Get config value for a config key (optionally from a specific OTP app or Bonfire extension)
Get all config keys/values for a specific Bonfire extension or OTP app
Get config value for a Bonfire extension or OTP app config key
Constructs a key path for settings/config, which always starts with an app or extension name (which defaults to the main OTP app)
Stop if an Elixir module or extension / OTP app doesn't have configuration keys set up
Link to this section Functions
Get config value for a config key (optionally from a specific OTP app or Bonfire extension)
Get all config keys/values for a specific Bonfire extension or OTP app
Get config value for a Bonfire extension or OTP app config key
Constructs a key path for settings/config, which always starts with an app or extension name (which defaults to the main OTP app)
iex> keys_tree([:bonfire_me, Bonfire.Me.Users]) [:bonfire_me, Bonfire.Me.Users]
iex> keys_tree(Bonfire.Me.Users) [:bonfire_me, Bonfire.Me.Users]
iex> keys_tree(:bonfire_me) [:bonfire_me]
iex> keys_tree(:random_atom) [:bonfire, :random_atom]
iex>keys_tree([:random_atom, :sub_key]) [:bonfire, :random_atom, :sub_key]
Stop if an Elixir module or extension / OTP app doesn't have configuration keys set up