lib/whois/record/parser/whois.cira.ca.rb in whois-3.3.1 vs lib/whois/record/parser/whois.cira.ca.rb in whois-3.4.0

- old
+ new

@@ -86,13 +86,13 @@ property_supported :registrar do node("Registrar") do |hash| Record::Registrar.new( - :id => hash["Number"], - :name => hash["Name"], - :organization => hash["Name"] + id: hash["Number"], + name: hash["Name"], + organization: hash["Name"] ) end end @@ -164,10 +164,10 @@ status == :invalid end end - private + private def build_contact(element, type) node(element) do |hash| Record::Contact.new( :type => type,