blob: c8f4f6079058615291acd5679c6ac31871af46c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
defmodule PowerDNSex.FakeConfig do
@app_config_token "S3cr37_70k3n"
@app_config_url "https://my-powerdns.api"
def set_url, do: Application.put_env(:powerdnsex, :url, @app_config_url)
def set_token, do: Application.put_env(:powerdnsex, :token, @app_config_token)
def token, do: @app_config_token
def url, do: @app_config_url
end
|