Skip to content

Commit

Permalink
Tidy up registered method
Browse files Browse the repository at this point in the history
  • Loading branch information
rorymckinley committed Nov 4, 2012
1 parent 33970e2 commit cf19dcb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/whois/record/parser/whois.registry.net.za.rb
Expand Up @@ -46,10 +46,8 @@ class WhoisRegistryNetZa < Base
end

property_supported :registrar do
if node(:registrar_id)
node(:registrar_id) do
Whois::Record::Registrar.new(:name => node(:registrar_name), :id => node(:registrar_id))
else
nil
end
end

Expand Down

0 comments on commit cf19dcb

Please sign in to comment.