Sha256: da52662ed9b2120523d2e7e0ec0de09264aa5a8803e26f3dd9f21d29bdacd5ba

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

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

  ATTR_NAMES = {
    :registrar_name => "Sponsoring Registrar",
    :created_on => "Created On",
    :updated_on => "Updated On",
    :expires_on => "Expires On",
    :status => "Domain Status"
  }
  
  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/aero.rb
jm81-whois-0.6.0 lib/whois/domain/aero.rb