Sha256: a5e4a84331fd9fda771e86d907a7c1b0b449305cbc64229a33a280806a800b60
Contents?: true
Size: 915 Bytes
Versions: 4
Compression:
Stored size: 915 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2017 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
whois-4.0.5 | lib/whois/server/adapters/web.rb |
whois-4.0.4 | lib/whois/server/adapters/web.rb |
whois-4.0.3 | lib/whois/server/adapters/web.rb |
whois-4.0.2 | lib/whois/server/adapters/web.rb |