defmodule Settings do
def minimum do
def account do
def exclude do
Is this the best way to create a settings file for use by multiple modules in an app?
Can’t tell what your requirements are but couldn’t you achieve the same by using Mix.Config? Every module in the app can then read from this config
Thanks so much for your help.
(Btw, Mix.Config has been deprecated with Config recommended in its stead.)
Thanks for sharing, was not aware that this was changing in Elixir 1.10
This is a change in Elixir 1.9 btw.