Parent

Files

Class/Module Index [+]

Quicksearch

Whois::Record::Parser::WhoisCrsnicNet

Parser for the whois.crsnic.net server.

Public Instance Methods

parse() click to toggle source

Initializes a new {Scanners::Verisign} instance passing the {content_for_scanner} and calls parse on it.

@return [Hash]

# File lib/whois/record/parser/whois.crsnic.net.rb, line 102
def parse
  Scanners::Verisign.new(content_for_scanner).parse
end
referral_url() click to toggle source
# File lib/whois/record/parser/whois.crsnic.net.rb, line 90
def referral_url
  node("Referral URL") do |lines|
    last_useful_item(lines)
  end
end
referral_whois() click to toggle source
# File lib/whois/record/parser/whois.crsnic.net.rb, line 86
def referral_whois
  node("Whois Server")
end
response_unavailable?() click to toggle source

Checks whether this response contains a message that can be reconducted to a "WHOIS Server Unavailable" status.

@return [Boolean]

# File lib/whois/record/parser/whois.crsnic.net.rb, line 82
def response_unavailable?
  !!node("response:unavailable")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.