Sha256: fc1bca4500f729ebc941b9c294a5aca5253fb78df3ffded1e68e52175d440093

Contents?: true

Size: 610 Bytes

Versions: 15

Compression:

Stored size: 610 Bytes

Contents

#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
# Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net>
#++


module Whois
  class Server
    module Adapters

      class NotImplemented < Base

        # Always raises a {Whois::ServerNotImplemented} exception.
        #
        # @param  [String] string
        # @return [void]
        #
        # @raise  [Whois::ServerNotImplemented] For every request.
        #
        def request(string)
          raise ServerNotImplemented, "The `#{host}' feature has not been implemented yet."
        end

      end

    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
whois-3.6.2 lib/whois/server/adapters/not_implemented.rb
whois-3.6.1 lib/whois/server/adapters/not_implemented.rb
whois-3.6.0 lib/whois/server/adapters/not_implemented.rb
whois-3.5.9 lib/whois/server/adapters/not_implemented.rb
whois-3.5.8 lib/whois/server/adapters/not_implemented.rb
whois-3.5.7 lib/whois/server/adapters/not_implemented.rb
whois-3.5.6 lib/whois/server/adapters/not_implemented.rb
whois-3.5.5 lib/whois/server/adapters/not_implemented.rb
whois-3.5.4 lib/whois/server/adapters/not_implemented.rb
whois-3.5.3 lib/whois/server/adapters/not_implemented.rb
whois-3.5.2 lib/whois/server/adapters/not_implemented.rb
whois-3.5.1 lib/whois/server/adapters/not_implemented.rb
whois-3.5.0 lib/whois/server/adapters/not_implemented.rb
whois-3.4.5 lib/whois/server/adapters/not_implemented.rb
whois-3.4.4 lib/whois/server/adapters/not_implemented.rb