Class: Whois::Domain::Gov
- Inherits:
-
Base
- Object
- Base
- Whois::Domain::Gov
show all
- Defined in:
- lib/whois/domain/gov.rb
Overview
All I know how to get so far is domain name and status. There is a web interface at www.dotgov.gov/whois.aspx with more detail.
Constant Summary
collapse
- HOST =
"whois.nic.gov"
- ATTR_MATCH =
/^\s*([^:]+):\s(.*)$/
- ATTR_NAMES =
{
}
Instance Attribute Summary
Attributes inherited from Base
#name, #raw
Instance Method Summary
collapse
Methods inherited from Base
#administrative_id, #attrs, #created_on, #database_updated_at, #expired?, #expires_on, #host, #initialize, #lookup_restricted?, #registered?, #registrant_id, #registrar_name, responds_to, #status, #to_s, #updated_on, #whois_server
Instance Method Details
#available? ⇒ Boolean
12
13
14
|
# File 'lib/whois/domain/gov.rb', line 12
def available?
@raw !~ /Domain Name:/
end
|
#name_servers ⇒ Object
20
21
22
|
# File 'lib/whois/domain/gov.rb', line 20
def name_servers
[]
end
|
#ns ⇒ Object
24
25
26
|
# File 'lib/whois/domain/gov.rb', line 24
def ns
[]
end
|
#register_url ⇒ Object
16
17
18
|
# File 'lib/whois/domain/gov.rb', line 16
def register_url
"http://www.dotgov.gov/help_how.aspx"
end
|