Sha256: d348fa01fa8a51b0b400bc611f6ebffd6ff090a4833f52a81aed12170681d7ca
Contents?: true
Size: 776 Bytes
Versions: 3
Compression:
Stored size: 776 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2015 Simone Carletti <weppos@weppos.net> #++ require 'whois/record/parser/base_shared1' module Whois class Record class Parser # Parser for the whois.registry.om server. # # @see Whois::Record::Parser::Example # The Example parser for the list of all available methods. # class WhoisRegistryOm < BaseShared1 self.scanner = Scanners::BaseShared1, { pattern_reserved: /^Restricted\n/ } property_supported :updated_on do node("Last Modified") { |value| Time.parse(value) } end def reserved? !!node('status:reserved') end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
whois-3.6.5 | lib/whois/record/parser/whois.registry.om.rb |
whois-3.6.4 | lib/whois/record/parser/whois.registry.om.rb |
whois-3.6.3 | lib/whois/record/parser/whois.registry.om.rb |