Sha256: 901f0af8c97f8d940f087b454bafbf5d1085d9e70f6ec464b050298b2847fb26
Contents?: true
Size: 719 Bytes
Versions: 6
Compression:
Stored size: 719 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2015 Simone Carletti <weppos@weppos.net> #++ require_relative 'base_afilias2' module Whois class Parsers # Parser for the whois.afilias.net server. class WhoisAfiliasNet < BaseAfilias2 self.scanner = Scanners::BaseAfilias, { pattern_disclaimer: /^Access to/, pattern_reserved: /^(Name is reserved by afilias\n)|(Reserved by Registry\n)/, } property_supported :status do if reserved? :reserved else super() end end # NEWPROPERTY def reserved? !!node("status:reserved") end end end end
Version data entries
6 entries across 6 versions & 2 rubygems