Sha256: de4749e95cff9fce48c96ecd17e4fbc303e0cf8de761e73bc86e1e496245a880
Contents?: true
Size: 469 Bytes
Versions: 1
Compression:
Stored size: 469 Bytes
Contents
class Whois::Domain::Int < Whois::Domain::Base HOST = "whois.iana.org" ATTR_MATCH = /^([^:]+):\s+(\S.*)$/ responds_to :int ATTR_NAMES = { :created_on => 'created', :updated_on => 'changed', :name_servers => 'nserver' } def registrar_name ".int Domain Registry (IANA)" end def available? @raw =~ /returned 0 objects/ end def name_servers # Remove IP address. super.collect{ |ns| ns.match(/\A([\S]*)\s/)[1] } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jm81-whois-0.7.0 | lib/whois/domain/int.rb |