Sha256: df1a425261d6ade1ad56bd16c537f7bff3817cba8f23c98afd646348be1212d2
Contents?: true
Size: 866 Bytes
Versions: 3
Compression:
Stored size: 866 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net> #++ require 'whois/record/parser/base_icann_compliant' module Whois class Record class Parser # Parser for the whois.networksolutions.com server. # # @see Whois::Record::Parser::Example # The Example parser for the list of all available methods. # class WhoisNetworksolutionsCom < BaseIcannCompliant self.scanner = Scanners::BaseIcannCompliant, { pattern_available: /^No match for "[\w\.]+"\.\n/ } private def build_contact(element, type) if (contact = super) && !contact.state.present? contact.state = value_for_property(element, 'State') end contact end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems