Dnsimple.Templates.create_template
You're seeing just the function
create_template
, go back to Dnsimple.Templates module for more information.
Link to this function
create_template(client, account_id, attributes, options \\ [])
Specs
create_template(Dnsimple.Client.t(), String.t() | integer(), map(), Keyword.t()) :: {:ok | :error, Dnsimple.Response.t()}
Creates a new template.
See:
Examples:
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Templates.create_template(client, account_id = 1010, %{
name: "Beta",
short_name: "beta",
description: "A beta template.",
})