Sha256: 1798e0f745402a6990d025ad8683356aa88cc7e4790c5d7f305c8a773ee78921
Contents?: true
Size: 503 Bytes
Versions: 2
Compression:
Stored size: 503 Bytes
Contents
class Whois::Domain::Coop < Whois::Domain::Base ATTR_MATCH = /^([^:]+):\s{2,}(.*)\r$/ HOST = "whois.nic.coop" responds_to :coop ATTR_NAMES = { :registrar_name => "Sponsoring registrar", :created_on => "Created", :updated_on => "Last updated", :expires_on => "Expiry Date", :status => "Domain Status", :name_servers => "Host Name" } def available? @raw =~ /No domain records were found to match/ end def register_url "http://domains.coop/" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jm81-whois-0.7.0 | lib/whois/domain/coop.rb |
jm81-whois-0.6.0 | lib/whois/domain/coop.rb |