Dnsimple.Zones.get_zone
You're seeing just the function
get_zone
, go back to Dnsimple.Zones module for more information.
Link to this function
get_zone(client, account_id, zone_id, options \\ [])
Specs
get_zone( Dnsimple.Client.t(), String.t() | integer(), String.t() | integer(), Keyword.t() ) :: {:ok | :error, Dnsimple.Response.t()}
Returns a zone.
See:
Examples:
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Zones.get_zone(client, account_id = 1010, zone_id = 12)
{:ok, response} = Dnsimple.Zones.get_zone(client, account_id = 1010, zone_id = "example.com")