Class Whois::Server::Adapters::Web
In: lib/whois/server/adapters/web.rb
lib/whois/server/adapters/web.rb
Parent: Base

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 a Whois::Server::Adapters::None adapter a little more specific.

Methods

request   request  

Public Instance methods

Always raises a Whois::WebInterfaceError exception including the web address for the WHOIS inteface.

Returns nothing. Raises Whois::WebInterfaceError for every request.

[Source]

# File lib/whois/server/adapters/web.rb, line 37
        def request(qstring)
          raise WebInterfaceError, options[:web]
        end

Always raises a Whois::WebInterfaceError exception including the web address for the WHOIS inteface.

Returns nothing. Raises Whois::WebInterfaceError for every request.

[Source]

# File lib/whois/server/adapters/web.rb, line 37
        def request(qstring)
          raise WebInterfaceError, options[:web]
        end

[Validate]