Sha256: fbf1da66f1288a44e829e8712ac7539e6cb757db394e94d500073e58eb4128c6

Contents?: true

Size: 366 Bytes

Versions: 2

Compression:

Stored size: 366 Bytes

Contents

class Whois::Domain::Afilias < Whois::Domain::Base
  HOST = "whois.afilias.net"
  ATTR_MATCH = /^([^:]+):(\S.*)\r$/
  responds_to :info

  ATTR_NAMES = {
    :registrar_name => "Sponsoring Registrar",
    :created_on => "Created On",
    :updated_on => "Last Updated On",
    :expires_on => "Expiration Date"
  }
  
  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/afilias.rb
jm81-whois-0.6.0 lib/whois/domain/afilias.rb