class Whois::Parsers::WhoisDomainregistryIe
Parser
for the whois.domainregistry.ie server.
The Example parser for the list of all available methods.
Private Instance Methods
build_contact(element, type)
click to toggle source
# File lib/whois/parsers/whois.domainregistry.ie.rb, line 107 def build_contact(element, type) Array.wrap(node(element)).map do |id| next unless (contact = node("field:#{id}")) Parser::Contact.new( :type => type, :id => id, :name => contact["person"] ) end.compact end