Class: Whois::Parsers::WhoisNicIo

Inherits:
BaseIcb show all
Defined in:
lib/whois/parsers/whois.nic.io.rb

Overview

Parser for the whois.nic.io 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?, #response_unavailable?, #unchanged?, #validate!

Constructor Details

This class inherits a constructor from Whois::Parsers::Base

Instance Method Details

#reserved?Boolean

NEWPROPERTY

Returns:

  • (Boolean)


41
42
43
# File 'lib/whois/parsers/whois.nic.io.rb', line 41

def reserved?
  !!(content_for_scanner =~ /^Reserved by Registry\n/)
end