Sha256: 1d4739c2237fa4afffa1455647e61abd738b3f9792c60cc94a2de978d495a6ba
Contents?: true
Size: 652 Bytes
Versions: 1
Compression:
Stored size: 652 Bytes
Contents
# # = Ruby Whois # # An intelligent pure Ruby WHOIS client. # # # Category:: Net # Package:: Whois # Author:: Simone Carletti <weppos@weppos.net> # License:: MIT License # #-- # #++ module Whois class Server module Adapters class Afilias < Base def request(qstring) response = ask_the_socket(qstring, "whois.afilias-grs.info", DEFAULT_WHOIS_PORT) if response =~ /Domain Name:/ && response =~ /Whois Server:(\S+)/ ask_the_socket(qstring, $1, DEFAULT_WHOIS_PORT) else response end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
whois-0.5.0 | lib/whois/server/adapters/afilias.rb |