Class: Whois::Parsers::WhoisRegistryNetZa

Inherits:
Base
  • Object
show all
Includes:
Scanners::Scannable
Defined in:
lib/whois/parsers/whois.registry.net.za.rb

Overview

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.

Parser for the whois.registry.za.net server.

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:

-1: Please go away for 90 Seconds

Returns:

  • (Boolean)


114
115
116
# File 'lib/whois/parsers/whois.registry.net.za.rb', line 114

def response_throttled?
  !!(content_for_scanner =~ /Please go away for \d+ Seconds/)
end