Sha256: ac00bdc18334501277b20b519690d08259e6c90166ae819b48d52dfe1a7ad119
Contents?: true
Size: 753 Bytes
Versions: 8
Compression:
Stored size: 753 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net> #++ require 'whois/record/parser/base_afilias2' module Whois class Record class Parser # Parser for the whois.nic.xxx server. class WhoisNicXxx < BaseAfilias2 self.scanner = Scanners::BaseAfilias, { pattern_disclaimer: /^Access to/, pattern_reserved: /^Reserved by ICM Registry\n/, } property_supported :status do if reserved? :reserved else super() end end # NEWPROPERTY def reserved? !!node("status:reserved") end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems