Sha256: 2b476f3e346fe1b9916e47a86edc7f4372e77081bb65555a3c00e5ca69b53f04

Contents?: true

Size: 641 Bytes

Versions: 1

Compression:

Stored size: 641 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

Version Path
whois-5.0.2 lib/whois/server/adapters/not_implemented.rb