class Whois::Parsers::WhoisAudnsNetAu

Parser for the whois.audns.net.au 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.audns.net.au.rb, line 96
def build_contact(element, type)
  node("#{element} ID") do |str|
    Parser::Contact.new({
      type:         type,
      id:           str,
      name:         node("#{element} Name"),
      organization: nil,
      address:      nil,
      city:         nil,
      zip:          nil,
      state:        nil,
      country:      nil,
      phone:        nil,
      fax:          nil,
      email:        node("#{element} Email"),
    })
  end
end