Dnsimple.Tlds.list_tlds
You're seeing just the function
list_tlds
, go back to Dnsimple.Tlds module for more information.
Link to this function
list_tlds(client, options \\ [])
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")