Sha256: 290e424872103df181582031e6adf77ecb8708940b85aa93e39c9ba51c5c9196

Contents?: true

Size: 780 Bytes

Versions: 3

Compression:

Stored size: 780 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_icann_compliant'


module Whois
  class Record
    class Parser

      # Parser for the whois.markmonitor.com server.
      #
      # @see Whois::Record::Parser::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
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
whois-3.6.5 lib/whois/record/parser/whois.markmonitor.com.rb
whois-3.6.4 lib/whois/record/parser/whois.markmonitor.com.rb
whois-3.6.3 lib/whois/record/parser/whois.markmonitor.com.rb