Dnsimple.Domains.all_domains
You're seeing just the function
all_domains
, go back to Dnsimple.Domains module for more information.
Link to this function
all_domains(client, account_id, options \\ [])
Specs
all_domains(Dnsimple.Client.t(), String.t() | integer(), Keyword.t()) :: {:ok | :error, [Dnsimple.Domain.t()]}
List all domains in an account automatically paginating if necessary.
This function will automatically page through all pages, returning all domains. It will respect the provided sorting and filtering options.
Examples:
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Domains.all_domains(client, account_id = 1010)
{:ok, response} = Dnsimple.Domains.all_domains(client, account_id = 1010, sort: "name:asc")
{:ok, response} = Dnsimple.Domains.all_domains(client, account_id = 1010, filter: [name_like: ".com"])