class Whois::Parsers::WhoisSafenamesNet

Parser for the whois.safenames.net server.

@see Whois::Parsers::Example

The Example parser for the list of all available methods.

Private Instance Methods

contact_address_attribute(element) click to toggle source
# File lib/whois/parsers/whois.safenames.net.rb, line 39
def contact_address_attribute(element)
  address = (1..2).
    map { |i| node("#{element} Address Line #{i}") }.
    compact.join("\n").chomp
end
contact_organization_attribute(element) click to toggle source
# File lib/whois/parsers/whois.safenames.net.rb, line 35
def contact_organization_attribute(element)
  value_for_property(element, 'Organisation')
end