Class: Whois::Domain::Coop
Constant Summary collapse
- ATTR_MATCH =
/^([^:]+):\s{2,}(.*)\r$/
- HOST =
"whois.nic.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" }
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#administrative_id, #attrs, #created_on, #database_updated_at, #expired?, #expires_on, #host, #initialize, #lookup_restricted?, #name_servers, #ns, #registered?, #registrant_id, #registrar_name, responds_to, #status, #to_s, #updated_on, #whois_server
Constructor Details
This class inherits a constructor from Whois::Domain::Base
Instance Method Details
#available? ⇒ Boolean
15 16 17 |
# File 'lib/whois/domain/coop.rb', line 15 def available? @raw =~ /No domain records were found to match/ end |
#register_url ⇒ Object
19 20 21 |
# File 'lib/whois/domain/coop.rb', line 19 def register_url "http://domains.coop/" end |