Sha256: 12495e5f3367cd74f6c081f5ae3c2978fef5b5a411d0740dadb780805e9191da
Contents?: true
Size: 719 Bytes
Versions: 2
Compression:
Stored size: 719 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2018 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
whois-parser-1.2.0 | lib/whois/parsers/whois.afilias.net.rb |
whois-parser-1.1.0 | lib/whois/parsers/whois.afilias.net.rb |