Sha256: 4fdba5d22bde98be4e8c7d7f6c6ecdfcb0339576472f6928434889d763e7066f
Contents?: true
Size: 949 Bytes
Versions: 6
Compression:
Stored size: 949 Bytes
Contents
# # = Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # # Category:: Net # Package:: Whois # Author:: Simone Carletti <weppos@weppos.net> # License:: MIT License # #-- # #++ 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 a <tt>Whois::Server::Adapters::None</tt> # adapter a little more specific. # class Web < Base # Always raises a <tt>Whois::WebInterfaceError</tt> exception # including the web address for the WHOIS inteface. # # ==== Raises # WebInterfaceError:: for every request # def request(qstring) raise WebInterfaceError, options[:web] end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems