Sha256: 79c5659a4466eedac3712adb03c9c1a1add6ce49ed838e80a34b6b3e73dd370a

Contents?: true

Size: 710 Bytes

Versions: 2

Compression:

Stored size: 710 Bytes

Contents

#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
# Copyright (c) 2009-2018 Simone Carletti <weppos@weppos.net>
#++


require_relative 'base_icann_compliant'


module Whois
  class Parsers

    # Parser for the whois.markmonitor.com server.
    #
    # @see Whois::Parsers::Example
    #   The Example parser for the list of all available methods.
    #
    class WhoisMarkmonitorCom < BaseIcannCompliant

      self.scanner = Scanners::BaseIcannCompliant, {
          pattern_available: /^No match for/,
          pattern_throttled: /^You have exceeded your quota of queries\./,
      }


      def response_throttled?
        !!node("response:throttled")
      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.markmonitor.com.rb
whois-parser-1.1.0 lib/whois/parsers/whois.markmonitor.com.rb