Sha256: 2fd11ddc3d50df89a76b034a197a15cefe300e9315a5ee0a27e09e03629b4a19

Contents?: true

Size: 477 Bytes

Versions: 1

Compression:

Stored size: 477 Bytes

Contents

# All I know how to get so far is domain name and status.
# There is a web interface at http://www.dotgov.gov/whois.aspx
# with more detail.
class Whois::Domain::Gov < Whois::Domain::Base
  HOST = "whois.nic.gov"
  ATTR_MATCH = /^\s*([^:]+):\s(.*)$/
  responds_to :gov

  ATTR_NAMES = {
  }
  
  def available?
    @raw !~ /Domain Name:/
  end
  
  def register_url
    "http://www.dotgov.gov/help_how.aspx"
  end
  
  def name_servers
    []
  end
  
  def ns
    []
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jm81-whois-0.7.0 lib/whois/domain/gov.rb