Parent

Files

Class/Module Index [+]

Quicksearch

Whois::Record::Parser::WhoisNicUk

whois.nic.uk parser

Parser for the whois.nic.uk server.

NOTE: This parser is just a stub and provides only a few basic methods to check for domain availability and get domain status. Please consider to contribute implementing missing methods. See WhoisNicIt parser for an explanation of all available methods and examples.

@see www.nominet.org.uk/other/whois/detailedinstruct/

Public Instance Methods

invalid?() click to toggle source

NEWPROPERTY

# File lib/whois/record/parser/whois.nic.uk.rb, line 165
def invalid?
  cached_properties_fetch(:invalid?) do
    !!(content_for_scanner =~ /This domain cannot be registered/)
  end
end
response_throttled?() click to toggle source

Checks whether the response has been throttled.

@return [Boolean]

@example

The WHOIS query quota for 127.0.0.1 has been exceeded
and will be replenished in 50 seconds.
# File lib/whois/record/parser/whois.nic.uk.rb, line 152
def response_throttled?
  !!(content_for_scanner =~ /The WHOIS query quota for .+ has been exceeded/)
end
valid?() click to toggle source

NEWPROPERTY

# File lib/whois/record/parser/whois.nic.uk.rb, line 158
def valid?
  cached_properties_fetch(:valid?) do
    !invalid?
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.