batch_elixir v0.2.2 BatchElixir.Environment View Source
Wrapper module to access to the application environment value
Link to this section Summary
Functions
Ensure they the key exists.
Return :ok
if the key exists, otherwise it will return {:error,reason}
for undefined key
Get the value from a key
Link to this section Functions
Link to this function
ensure(key) View Source
Ensure they the key exists.
Return :ok
if the key exists, otherwise it will return {:error,reason}
for undefined key.
Link to this function
get(key) View Source
Get the value from a key.
Return nil if the key does not exist in the application environment. Otherwise return the value.