Sha256: ad4225c0c621e9c6f85aabad5d0bf6019726a5f265e1f966099b2dda47266eec
Contents?: true
Size: 1.66 KB
Versions: 5
Compression:
Stored size: 1.66 KB
Contents
# # = Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # # Category:: Net # Package:: Whois # Author:: Simone Carletti <weppos@weppos.net> # License:: MIT License # #-- # #++ require 'whois/answer/parser/base' module Whois class Answer class Parser # # = whois.org.za parser # # Parser for the whois.org.za server. # class WhoisOrgZa < Base property_not_supported :disclaimer property_not_supported :domain property_not_supported :domain_id property_not_supported :referral_whois property_not_supported :referral_url property_supported :status do @status ||= if available? :available else :registered end end property_supported :available? do @available ||= !!(content_for_scanner =~ /^(.+): Available/) end property_supported :registered? do @registered ||= !available? end property_not_supported :created_on property_not_supported :updated_on property_not_supported :expires_on property_not_supported :registrar property_not_supported :registrant_contact property_not_supported :admin_contact property_not_supported :technical_contact property_not_supported :nameservers # NEWPROPERTY property_supported :changed? do |other| !unchanged?(other) end # NEWPROPERTY property_supported :unchanged? do |other| (self === other) || (self.content == other.content) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems