Sha256: 560f6d7b19d9990aee63b67425e64a48fe351ecfb0f1ea3adae94b17cd613073
Contents?: true
Size: 946 Bytes
Versions: 2
Compression:
Stored size: 946 Bytes
Contents
# frozen_string_literal: true #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2022 Simone Carletti <weppos@weppos.net> #++ 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 like a {Whois::Server::Adapters::None} # adapter, just a little bit more specific. # class Web < Base # Always raises a {Whois::WebInterfaceError} exception # including the web address for the WHOIS inteface. # # @param [String] string # @return [void] # # @raise [Whois::WebInterfaceError] For every request. # def request(string) raise WebInterfaceError, options[:url] end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
whois-5.1.1 | lib/whois/server/adapters/web.rb |
whois-5.1.0 | lib/whois/server/adapters/web.rb |