Dnsimple.Templates.list_templates
You're seeing just the function
list_templates
, go back to Dnsimple.Templates module for more information.
Link to this function
list_templates(client, account_id, options \\ [])
Specs
list_templates(Dnsimple.Client.t(), String.t() | integer(), Keyword.t()) :: {:ok | :error, Dnsimple.Response.t()}
Returns the list of existing templates in the account.
See:
Examples:
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Templates.list_templates(client, account_id = 1010)
{:ok, response} = Dnsimple.Templates.list_templates(client, account_id = 1010, sort: "name:asc")