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