Sha256: 5d2ce8c621b66e570a880aba31dd175fe133fde0d9bbbb98e61f5e60f402a1ba

Contents?: true

Size: 424 Bytes

Versions: 2

Compression:

Stored size: 424 Bytes

Contents

class Whois::Domain::Su < Whois::Domain::Base
  HOST = "whois.ripn.net"
  ATTR_MATCH = /\s*([^:]+):\s+(.*)$/
  responds_to :su

  ATTR_NAMES = {
    :registrar_name => "Registrar Name",
    :whois_server => "Registrar Whois",
    :created_on => "Domain Created",
    :updated_on => "Domain Last Updated",
    :expires_on => "Domain Currently Expires"
  }
  
  def available?
    @raw =~ /NOT FOUND/
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jm81-whois-0.7.0 lib/whois/domain/su.rb
jm81-whois-0.6.0 lib/whois/domain/su.rb