Class: Whois::Parsers::WhoisNicIt
- Includes:
- Scanners::Scannable
- Defined in:
- lib/whois/parsers/whois.nic.it.rb
Overview
Parser for the whois.nic.it server.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#response_unavailable? ⇒ Boolean
Checks whether this response contains a message that can be reconducted to a “WHOIS Server Unavailable” status.
-
#unavailable? ⇒ Boolean
NEWPROPERTY.
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_throttled?, #unchanged?, #validate!
Constructor Details
This class inherits a constructor from Whois::Parsers::Base
Instance Method Details
#response_unavailable? ⇒ Boolean
Checks whether this response contains a message that can be reconducted to a “WHOIS Server Unavailable” status.
129 130 131 |
# File 'lib/whois/parsers/whois.nic.it.rb', line 129 def response_unavailable? !!node("response:unavailable") end |
#unavailable? ⇒ Boolean
NEWPROPERTY
76 77 78 |
# File 'lib/whois/parsers/whois.nic.it.rb', line 76 def unavailable? status == :unavailable end |