Class: Whois::Parsers::ZaCentralRegistry

Inherits:
BaseIcannCompliant show all
Defined in:
lib/whois/parsers/za_central_registry.rb

Overview

Parser for the ZA Central Registry servers.

Instance Attribute Summary

Attributes inherited from Base

#part

Instance Method Summary collapse

Methods included from Scanners::Scannable

included, #node, #node?, #parse

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:

Please go away for 13 Seconds

Returns:

  • (Boolean)


51
52
53
# File 'lib/whois/parsers/za_central_registry.rb', line 51

def response_throttled?
  !!(content_for_scanner =~ /Please go away for \d+ [Ss]econds/)
end