Class: Whois::Server::Adapters::NotImplemented

Inherits:
Base
  • Object
show all
Defined in:
lib/whois/server/adapters/not_implemented.rb

Constant Summary

Constants inherited from Base

Base::DEFAULT_BIND_HOST, Base::DEFAULT_WHOIS_PORT

Instance Attribute Summary

Attributes inherited from Base

#allocation, #buffer, #host, #options, #type

Instance Method Summary collapse

Methods inherited from Base

#==, #configure, #initialize, #lookup, #query_handler

Constructor Details

This class inherits a constructor from Whois::Server::Adapters::Base

Instance Method Details

#request(string) ⇒ void

This method returns an undefined value.

Always raises a Whois::ServerNotImplemented exception.

Parameters:

  • string (String)

Raises:



25
26
27
# File 'lib/whois/server/adapters/not_implemented.rb', line 25

def request(string)
  raise ServerNotImplemented, "The `#{host}' feature has not been implemented yet."
end