Sha256: abe9084b46286a619ac9586932abfab6e4a22ec2e24e64535c9955b84f507e0c

Contents?: true

Size: 943 Bytes

Versions: 16

Compression:

Stored size: 943 Bytes

Contents

#
# = Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
#
# Category::    Net
# Package::     Whois
# Author::      Simone Carletti <weppos@weppos.net>
# License::     MIT License
#
#--
#
#++


module Whois
  class Server
    module Adapters
      
      #
      # = 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 <tt>Whois::Server::Adapters::None</tt>
      # adapter a little more specific.
      #
      class Web < Base
        
        # Always raises a <tt>Whois::WebInterfaceError</tt> exception
        # including the web address for the WHOIS inteface.
        #
        # ==== Raises
        # WebInterfaceError:: for every request
        #
        def request(qstring)
          raise WebInterfaceError, options[:web]
        end
        
      end

    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
whois-1.1.8 lib/whois/server/adapters/web.rb
whois-1.1.7 lib/whois/server/adapters/web.rb
whois-1.1.6 lib/whois/server/adapters/web.rb
whois-1.1.5 lib/whois/server/adapters/web.rb
whois-1.1.4 lib/whois/server/adapters/web.rb
whois-1.1.3 lib/whois/server/adapters/web.rb
whois-1.1.2 lib/whois/server/adapters/web.rb
whois-1.1.1 lib/whois/server/adapters/web.rb
whois-1.1.0 lib/whois/server/adapters/web.rb
whois-1.0.12 lib/whois/server/adapters/web.rb
whois-1.0.11 lib/whois/server/adapters/web.rb
whois-1.0.10 lib/whois/server/adapters/web.rb
whois-1.0.9 lib/whois/server/adapters/web.rb
whois-1.0.8 lib/whois/server/adapters/web.rb
whois-1.0.7 lib/whois/server/adapters/web.rb
whois-1.0.6 lib/whois/server/adapters/web.rb