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