Class: Whois::Server::Adapters::Web
- Defined in:
- lib/whois/server/adapters/web.rb
Overview
Web Adapter
Special adapter intended to be used when you can only access the WHOIS database via an online interface.
This adapter should be considered like a None adapter, just a little bit more specific.
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
-
#request(_string) ⇒ void
Always raises a WebInterfaceError exception including the web address for the WHOIS inteface.
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 WebInterfaceError exception including the web address for the WHOIS inteface.
35 36 37 |
# File 'lib/whois/server/adapters/web.rb', line 35 def request(_string) raise WebInterfaceError, [:url] end |