Dnsimple.Templates.create_template_record

You're seeing just the function create_template_record, go back to Dnsimple.Templates module for more information.
Link to this function

create_template_record(client, account_id, template_id, attributes, options \\ [])

Specs

create_template_record(
  Dnsimple.Client.t(),
  String.t() | integer(),
  String.t() | integer(),
  map(),
  Keyword.t()
) :: {:ok | :error, Dnsimple.Response.t()}

Creates a new record in the template.

See:

Examples:

client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Templates.create_template_record(client, account_id = 1010, template_id = "alpha" %{
  name: "",
  type: "mx",
  content: "mx.example.com",
  ttl: 600,
  prio: 10,
})