Sha256: ee5149ada3e3bc8e95a308d755db07f379a4023ce6556f55cc5b805bd93e542d

Contents?: true

Size: 710 Bytes

Versions: 6

Compression:

Stored size: 710 Bytes

Contents

#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
# Copyright (c) 2009-2015 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

6 entries across 6 versions & 2 rubygems

Version Path
whois-parser-1.0.1 lib/whois/parsers/whois.markmonitor.com.rb
hetzner-whois-parser-1.0.1.rc2 lib/whois/parsers/whois.markmonitor.com.rb
hetzner-whois-parser-1.0.1.rc1 lib/whois/parsers/whois.markmonitor.com.rb
whois-parser-1.0.0 lib/whois/parsers/whois.markmonitor.com.rb
whois-parser-1.0.0.pre.beta2 lib/whois/parsers/whois.markmonitor.com.rb
whois-parser-1.0.0.pre.beta1 lib/whois/parsers/whois.markmonitor.com.rb