Sha256: c36cdf75be4508aea8d30ab46677360f11a465d28d2010fe31b24b9a7366c7a2

Contents?: true

Size: 713 Bytes

Versions: 2

Compression:

Stored size: 713 Bytes

Contents

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


require_relative 'base_whoisd'
require 'whois/scanners/whois.nic.cz.rb'


module Whois
  class Parsers

    # Parser for the whois.nic.cz server.
    #
    # @see Whois::Parsers::Example
    #   The Example parser for the list of all available methods.
    #
    class WhoisNicCz < BaseWhoisd

      self.scanner = Scanners::WhoisNicCz

      property_supported :status do
        if available?
          :available
        else
          :registered
        end
      end


      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.nic.cz.rb
whois-parser-1.1.0 lib/whois/parsers/whois.nic.cz.rb