summaryrefslogtreecommitdiff
path: root/test/support/fake_config.exs
blob: 9f95fc2202ba0de4d295d675898e298a83c4e934 (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(:powerdns, :url, @app_config_url)
  def set_token, do: Application.put_env(:powerdns, :token, @app_config_token)

  def token, do: @app_config_token
  def url, do: @app_config_url
end