Sha256: 2c954c10336b2357af030700c67772e87476653aabbbb552b54d4dd1cd2165a9

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

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

  ATTR_NAMES = {
    :registrar_name => "Registrar ID",
    :created_on => "Created On",
    :updated_on => "Last Updated On",
    :expires_on => "Expiration Date"
  }

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

  def register_url
    "http://about.museum/register/"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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