class Whois::Record::Parser::WhoisNicUk
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.
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