Permalink
Browse files

Tidy up registered method

  • Loading branch information...
1 parent 33970e2 commit cf19dcbb7c341a1983902dfb020dfe4b8d0decd3 @rorymckinley committed Nov 4, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/whois/record/parser/whois.registry.net.za.rb
@@ -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

0 comments on commit cf19dcb

Please sign in to comment.