Sha256: 0878e6acc06830a93a8aded73ff0c6113e386f798c5dbfc05f04d465f8fd3f61
Contents?: true
Size: 1.35 KB
Versions: 26
Compression:
Stored size: 1.35 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.aeda.net.ae parser # # Parser for the whois.aeda.net.ae server. # # NOTE: This parser is just a stub and provides only a few basic methods # to check for domain availability and get domain status. # Please consider to contribute implementing missing methods. # See WhoisNicIt parser for an explanation of all available methods # and examples. # class WhoisAedaNetAe < Base property_supported :status do @status ||= content_for_scanner.scan(/Status:\s+(.*?)\n/).flatten end property_supported :available? do @available ||= content_for_scanner.strip == "No Data Found" end property_supported :registered? do !available? end property_not_supported :created_on property_not_supported :updated_on property_not_supported :expires_on property_supported :nameservers do @nameservers ||= content_for_scanner.scan(/Name Server:\s+(.*?)\n/).flatten end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems