Class: Whois::Parsers::WhoisNicIt

Inherits:
Base
  • Object
show all
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

#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_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.

Returns:

  • (Boolean)


129
130
131
# File 'lib/whois/parsers/whois.nic.it.rb', line 129

def response_unavailable?
  !!node("response:unavailable")
end

#unavailable?Boolean

NEWPROPERTY

Returns:

  • (Boolean)


76
77
78
# File 'lib/whois/parsers/whois.nic.it.rb', line 76

def unavailable?
  status == :unavailable
end