class Whois::Parsers::WhoisRnidsRs

Parser for the whois.rnids.rs server.

@see Whois::Parsers::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/parsers/whois.rnids.rs.rb, line 111
def build_contact(element, type)
  node(element) do |hash|
    Parser::Contact.new(
      :type         => type,
      :id           => nil,
      :name         => hash[element],
      :organization => nil,
      :address      => hash["Address"],
      :city         => nil,
      :zip          => nil,
      :state        => nil,
      :country      => nil,
      :country_code => nil,
      :phone        => nil,
      :fax          => nil,
      :email        => nil
    )
  end
end