Class Whois::Server::Adapters::None
In: lib/whois/server/adapters/none.rb
lib/whois/server/adapters/none.rb
Parent: Base

None Adapter

Special adapter intended to be used when a WHOIS interface doesn‘t exist for given query. For example, the domain authority for some TLD doesn‘t offer any way to query for WHOIS data.

In case the authority provides only a web based interface, you should use the Whois::Server::Adapters::Web adapter.

Every query for an object associated to a Whois::Server::Adapters::None adapter raises a Whois::NoInterfaceError exception.

Methods

request   request  

Public Instance methods

Always raises a Whois::NoInterfaceError exception.

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

[Source]

# File lib/whois/server/adapters/none.rb, line 41
        def request(qstring)
          raise NoInterfaceError, "This `#{type}' has no whois server"
        end

Always raises a Whois::NoInterfaceError exception.

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

[Source]

# File lib/whois/server/adapters/none.rb, line 41
        def request(qstring)
          raise NoInterfaceError, "This `#{type}' has no whois server"
        end

[Validate]