dnsimple-elixir icon indicating copy to clipboard operation
dnsimple-elixir copied to clipboard

Use standard Elixir configuration

Open jacegu opened this issue 9 years ago • 2 comments

Right now configuration values have to be provided to the client like this:

%Dnsimple.Client{base_url: "https://sandbox.dnsimple.com"}

It may be nice to use standard Elixir configuration mechanisms:

configure :dnsimple, base_url: "https://sandbox.dnsimple.com"

jacegu avatar Jun 29 '16 15:06 jacegu

Support to setup base_url was added. I'd like to be able to do the same thing with the access token and custom user agent before considering this closed.

jacegu avatar Oct 10 '17 10:10 jacegu

Somewhat related to https://github.com/dnsimple/dnsimple-elixir/issues/126

jacegu avatar Sep 19 '22 09:09 jacegu