Sha256: 642f3d629befb95d9fbddd186a2b9f5adce9bd456709cd100d2f817ae6afe8ac

Contents?: true

Size: 610 Bytes

Versions: 10

Compression:

Stored size: 610 Bytes

Contents

#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
# Copyright (c) 2009-2012 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

10 entries across 10 versions & 1 rubygems

Version Path
whois-2.7.0 lib/whois/server/adapters/not_implemented.rb
whois-2.6.4 lib/whois/server/adapters/not_implemented.rb
whois-2.6.3 lib/whois/server/adapters/not_implemented.rb
whois-2.6.2 lib/whois/server/adapters/not_implemented.rb
whois-2.6.1 lib/whois/server/adapters/not_implemented.rb
whois-2.6.0 lib/whois/server/adapters/not_implemented.rb
whois-2.5.1 lib/whois/server/adapters/not_implemented.rb
whois-2.5.0 lib/whois/server/adapters/not_implemented.rb
whois-2.4.0 lib/whois/server/adapters/not_implemented.rb
whois-2.3.0 lib/whois/server/adapters/not_implemented.rb