Sha256: 2f11013931599758d4974677a1b3bdc10395e2761dc52d33a3639ef8e0995bfb

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

class Whois::Domain::PublicInterest < Whois::Domain::Base
  HOST = "whois.pir.org"
  ATTR_MATCH = /^([^:]+):\s*(\S.*)\r$/
  responds_to :org

  ATTR_NAMES = {
    :registrar_name => "Sponsoring Registrar",
    :created_on => "Creation Date",
    :updated_on => "Updated Date",
    :expires_on => "Registry Expiry Date",
    :status => "Domain Status"
  }

  def available?
    @raw =~ /NOT FOUND/
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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