Changeset View
Changeset View
Standalone View
Standalone View
lib/lsg/lsg.ex
Context not available. | |||||
owner_email: "contact@my.nola.bot" | owner_email: "contact@my.nola.bot" | ||||
] | ] | ||||
def env(), do: Application.get_env(:lsg) | def env(), do: Application.get_env(:nola) | ||||
def env(key, default \\ nil), do: Application.get_env(:lsg, key, default) | def env(key, default \\ nil), do: Application.get_env(:nola, key, default) | ||||
def brand(), do: env(:brand, @default_brand) | def brand(), do: env(:brand, @default_brand) | ||||
def brand(key), do: Keyword.get(brand(), key) | def brand(key), do: Keyword.get(brand(), key) | ||||
Context not available. | |||||
end | end | ||||
def data_path do | def data_path do | ||||
Application.get_env(:lsg, :data_path) | Application.get_env(:nola, :data_path) | ||||
end | end | ||||
def version do | def version do | ||||
Application.spec(:lsg)[:vsn] | Application.spec(:nola)[:vsn] | ||||
end | end | ||||
end | end | ||||
Context not available. |