Sha256: d16c4490edd42dc91a8ec5aa5a01d953dbe25130ffc1c512a13bd9f72cda2d56

Contents?: true

Size: 610 Bytes

Versions: 13

Compression:

Stored size: 610 Bytes

Contents

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

13 entries across 13 versions & 1 rubygems

Version Path
whois-3.4.3 lib/whois/server/adapters/not_implemented.rb
whois-3.4.2 lib/whois/server/adapters/not_implemented.rb
whois-3.4.1 lib/whois/server/adapters/not_implemented.rb
whois-3.4.0 lib/whois/server/adapters/not_implemented.rb
whois-3.3.1 lib/whois/server/adapters/not_implemented.rb
whois-3.3.0 lib/whois/server/adapters/not_implemented.rb
whois-3.2.1 lib/whois/server/adapters/not_implemented.rb
whois-3.2.0 lib/whois/server/adapters/not_implemented.rb
whois-3.1.3 lib/whois/server/adapters/not_implemented.rb
whois-3.1.2 lib/whois/server/adapters/not_implemented.rb
whois-3.1.1 lib/whois/server/adapters/not_implemented.rb
whois-3.1.0 lib/whois/server/adapters/not_implemented.rb
whois-3.0.0 lib/whois/server/adapters/not_implemented.rb