Sha256: ebe5147f9efcd400400f6582871dd71bf88330968fc64f8a35367be179a29161

Contents?: true

Size: 557 Bytes

Versions: 2

Compression:

Stored size: 557 Bytes

Contents

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


require_relative 'base_cocca2'


module Whois
  class Parsers

    # Parser for the whois.nic.cd server.
    #
    # @see Whois::Parsers::Example
    #   The Example parser for the list of all available methods.
    #
    class WhoisNicCd < BaseCocca2

      property_supported :status do
        if node("Domain ID")
          :registered
        else
          :available
        end
      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.cd.rb
whois-parser-1.1.0 lib/whois/parsers/whois.nic.cd.rb