inaka / Dayron

A repository `similar` to Ecto.Repo that maps to an underlying http client, sending requests to an external rest api instead of a database
http://inaka.net/blog/2016/05/24/introducing-dayron/
Apache License 2.0
159 stars 20 forks source link

Read config from System Env #28

Closed flaviogranero closed 8 years ago

flaviogranero commented 8 years ago

Make it load config from system env if:

config :my_app, Dayron,
        url: {:system, "API_URL"}