Class: Whois::Parsers::WhoisNicTr

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

Overview

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

Constructor Details

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

Instance Method Details

#invalid?Boolean

NEWPROPERTY invalid?

Returns:

  • (Boolean)


122
123
124
125
126
# File 'lib/whois/parsers/whois.nic.tr.rb', line 122

def invalid?
  cached_properties_fetch :invalid? do
    response_error?
  end
end

#response_error?Boolean

Returns:

  • (Boolean)


116
117
118
# File 'lib/whois/parsers/whois.nic.tr.rb', line 116

def response_error?
  content_for_scanner =~ /Invalid input/
end