Class: Whois::Parsers::WhoisEu

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

Overview

Parser for the whois.eu 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:

-1: Still in grace period, wait 7777777 seconds

Returns:

  • (Boolean)


123
124
125
# File 'lib/whois/parsers/whois.eu.rb', line 123

def response_throttled?
  !!(content_for_scanner =~ /Still in grace period/)
end