class Whois::Record::Parser::WhoisSafenamesNet

Parser for the whois.safenames.net server.

@see Whois::Record::Parser::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/record/parser/whois.safenames.net.rb, line 40
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/record/parser/whois.safenames.net.rb, line 36
def contact_organization_attribute(element)
  value_for_property(element, 'Organisation')
end