Dnsimple.Registrar.check_domain
You're seeing just the function
check_domain
, go back to Dnsimple.Registrar module for more information.
Link to this function
check_domain(client, account_id, domain_name, options \\ [])
Specs
check_domain(Dnsimple.Client.t(), String.t(), String.t(), keyword()) :: {:ok | :error, Dnsimple.Response.t()}
Checks if a domain name is available to be registered and whether premium pricing applies to that domain name.
See:
Examples:
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Registrar.check_domain(client, account_id = 1010, domain_id = "example.com")