Dnsimple.Certificates.download_certificate

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

download_certificate(client, account_id, domain_id, certificate_id, options \\ [])

Specs

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

Get the PEM-encoded certificate, along with the root certificate and intermediate chain.

See:

Examples

client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Certificates.download_certificate(client, account_id = "1010", domain_id = "example.com")