Class: Whois::Parsers::BaseNicFr Abstract

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

Overview

This class is abstract.

Base parser for Nic.fr servers.

Direct Known Subclasses

WhoisNicFr, WhoisNicPm, WhoisNicRe, WhoisNicWf

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.

Returns:

  • (Boolean)


104
105
106
# File 'lib/whois/parsers/base_nic_fr.rb', line 104

def response_throttled?
  !!(content_for_scanner =~ /^%% Too many requests\.{3}/)
end