Class: Whois::Parsers::WhoisDnsPl

Inherits:
Base
  • Object
show all
Defined in:
lib/whois/parsers/whois.dns.pl.rb

Overview

Parser for the whois.dns.pl server.

Instance Attribute Summary

Attributes inherited from Base

#part

Instance Method Summary collapse

Methods inherited from Base

#changed?, #contacts, #content, #initialize, #is, parse_time, property_not_implemented, property_not_supported, property_register, property_state, property_state?, property_supported, #property_supported?, #response_incomplete?, #response_unavailable?, #unchanged?, #validate!

Constructor Details

This class inherits a constructor from Whois::Parsers::Base

Instance Method Details

#response_throttled?Boolean

Checks whether the response has been throttled.

Examples:

Looup quota exceeded.

Returns:

  • (Boolean)


105
106
107
# File 'lib/whois/parsers/whois.dns.pl.rb', line 105

def response_throttled?
  !!(content_for_scanner =~ /^request limit exceeded for/)
end