class Whois::Parsers::WhoisSmallregistryNet
Parser
for the whois.smallregistry.net server.
@author Mathieu Arnold <m@absolight.fr>
Private Instance Methods
build_contact(element, type)
click to toggle source
# File lib/whois/parsers/whois.smallregistry.net.rb, line 113 def build_contact(element, type) node(element) do |hash| Parser::Contact.new( :type => type, :id => hash['nic-handle'], :name => hash['name'], :organization => hash['company'], :address => hash['address'], :phone => hash['phone'], :fax => hash['fax'], :email => hash['mobile'], :updated_on => parse_time(hash['updated']) ) end end