blob: 0c27d9340594fe5b62d276e2e659f5fdbf1883d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
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
|