Parent

Files

Class/Module Index [+]

Quicksearch

Whois::Record::Parser::WhoisDomainRegistryNl

Parser for the whois.domain-registry.nl 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_throttled?() click to toggle source

Checks whether the response has been throttled.

@return [Boolean]

@example

whois.domain-registry.nl: only 1 request per second allowed, try again later

@example

whois.domain-registry.nl: daily whois-limit exceeded
# File lib/whois/record/parser/whois.domain-registry.nl.rb, line 102
def response_throttled?
  case content_for_scanner
  when /^#{Regexp.escape("whois.domain-registry.nl: only 1 request per second allowed, try again later")}/
    true
  when /^#{Regexp.escape("whois.domain-registry.nl: daily whois-limit exceeded")}/
    true
  else
    false
  end
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.domain-registry.nl.rb, line 117
def response_unavailable?
  !!(content_for_scanner =~ /Server too busy, try again later/)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.