chrismccord / mailgun

Elixir Mailgun Client
MIT License
194 stars 95 forks source link

Do not change the context of Mailgun.Client options #14

Closed josevalim closed 9 years ago

josevalim commented 9 years ago

This code doesn't work

config = [...]
use Mailgun.Client, config

Because the code is unquoted inside a function:

https://github.com/chrismccord/mailgun/blob/master/lib/client.ex#L5

We should fix it in order to be consistent with everything else.