Sha256: a4535a3f54d47531470fed0c6faa76ab3417235372e52cd98772e66d425221bd

Contents?: true

Size: 371 Bytes

Versions: 2

Compression:

Stored size: 371 Bytes

Contents

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

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