dnsimple v1.2.0 Dnsimple.Tlds
Provides functions to interact with the TLD endpoints.
See:
Summary
Functions
Returns a TLD
Returns the extended attributes for a TLD
Returns the lists of DNSimple supported TLDs
Functions
Specs
get_tld(Dnsimple.Client.t, String.t, Keyword.t) :: {:ok | :error, Dnsimple.Response.t}
Returns a TLD.
See:
Examples
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Tlds.get_tld(client, "com")
Specs
get_tld_extended_attributes(Dnsimple.Client.t, String.t, Keyword.t) :: {:ok | :error, Dnsimple.Response.t}
Returns the extended attributes for a TLD.
See:
Examples
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Tlds.get_tld_extended_attributes(client, "com")
Specs
list_tlds(Dnsimple.Client.t, Keyword.t) :: {:ok | :error, Dnsimple.Response.t}
Returns the lists of DNSimple supported TLDs.
See:
Examples
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Tlds.list_tlds(client)
{:ok, response} = Dnsimple.Tlds.list_tlds(client, page: 2, per_page: 10)
{:ok, response} = Dnsimple.Tlds.list_tlds(client, sort: "tlds:desc")