Files

Class/Module Index [+]

Quicksearch

Whois::Record::Parser::WhoisDnsBe

Parser for the whois.dns.be 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 Whois::Record::Parser::Example

The Example parser for the list of all available methods.

Public Instance Methods

response_blocked?() click to toggle source

Checks whether the server has been blocked.

@return [Boolean]

# File lib/whois/record/parser/whois.dns.be.rb, line 100
def response_blocked?
  !!(content_for_scanner =~ /^-3: IP address blocked/)
end
response_throttled?() click to toggle source

Checks whether the response has been throttled.

@return [Boolean]

# File lib/whois/record/parser/whois.dns.be.rb, line 92
def response_throttled?
  !!(content_for_scanner =~ /^% (Excessive querying|Maximum queries per hour reached)/) ||
  response_blocked?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.