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