Sha256: 74cc6c3caff64ea711552206244d7443c87f1d28bd2f9283f08172ce02cbe3a1

Contents?: true

Size: 424 Bytes

Versions: 2

Compression:

Stored size: 424 Bytes

Contents

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

  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/ru.rb
jm81-whois-0.6.0 lib/whois/domain/ru.rb