diff options
Diffstat (limited to 'lib/powerdnsex.ex')
-rw-r--r-- | lib/powerdnsex.ex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/powerdnsex.ex b/lib/powerdnsex.ex index 73f3d7e..0f7876b 100644 --- a/lib/powerdnsex.ex +++ b/lib/powerdnsex.ex @@ -72,12 +72,12 @@ defmodule PowerDNSex do call({:create_record, zone, rrset_attrs}) end - @spec show_record(Zone.t, struct) :: :ok | {:error, String.t} + @spec show_record(String.t, struct) :: :ok | {:error, String.t} @doc """ - Show / Retrive info of the specific Record of the given Zone + Show / Retrive info of the specific Record of the given Zone name """ - def show_record(%Zone{} = zone, %{} = rrset_attrs) do - call({:show_record, zone, rrset_attrs}) + def show_record(zone_name, %{} = rrset_attrs) do + call({:show_record, zone_name, rrset_attrs}) end @spec update_record(Zone.t, struct) :: :ok | {:error, String.t} |