Dnsimple.Registrar.register_domain

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

register_domain(client, account_id, domain_name, attributes \\ [], options \\ [])

Specs

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

Registers a domain.

See:

Examples:

client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Registrar.register_domain(client, account_id = 1010, domain_id = "example.com", %{
  registrant_id: 1,
  privacy: true,
  auto_renew: false,
})