Dnsimple.Registrar.renew_domain
You're seeing just the function
renew_domain
, go back to Dnsimple.Registrar module for more information.
Link to this function
renew_domain(client, account_id, domain_name, attributes \\ [], options \\ [])
Specs
renew_domain( Dnsimple.Client.t(), String.t(), String.t(), Keyword.t(), Keyword.t() ) :: {:ok | :error, Dnsimple.Response.t()}
Renews a domain.
See:
Examples:
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Registrar.renew_domain(client, account_id = 1010, domain_id = "example.com")
{:ok, response} = Dnsimple.Registrar.renew_domain(client, account_id = 1010, domain_id = "example.com", %{period: 5})