Conditional code based on config

I had a feeling that something like this would be the correct option. Otherwise the config is going to extremely unwieldy and redundant. I’m just not quite sure the right approach since coming from Ruby typically we’re able to just change everything at runtime (:scream:), exactly the kind of thing I’m learning Elixir to get away from…

I’m thinking I need to add some sort of boilerplate module that the client app can use in their own module, overriding the defaults somehow without actually changing how the original module is compiled. Does that sound generally like the right track to investigate?

The lib I’m working on is open source, and the current code I’m working on is here, if you’re curious.