View Source Assent.Config (Assent v0.2.0)
Methods to handle configurations.
Link to this section Summary
Link to this section Types
Specs
t() :: Keyword.t()
Link to this section Functions
Specs
fetch(t(), atom()) :: {:ok, any()} | {:error, Assent.Config.MissingKeyError.t()}
Fetches the key value from the configuration.
See Keyword.get/3
.
Specs
Fetches the JSON library in config.
If not found in provided config, this will attempt to load the JSON library
from global application environment for :assent
or :phoenix
. Defaults to
Poison
.
See Keyword.merge/2
.
See Keyword.put/3
.