defmodule Exqute do @moduledoc """ Documentation for Exqute. """ @doc """ Fetch a configuration setting from the environment """ def get_env(setting, default \\ nil) when is_atom(setting) do env() |> Keyword.get(setting, default) end @doc """ Returns all the ENV variables and configuration for :exqute """ def env, do: Application.get_all_env(:exqute) end