Sha256: 9999a9aee0687606008b41cee55174f79995d8b2b61df19aca045fb5373e3169

Contents?: true

Size: 627 Bytes

Versions: 14

Compression:

Stored size: 627 Bytes

Contents

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


require 'whois/record/parser/base_cocca2'


module Whois
  class Record
    class Parser

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
whois-3.6.2 lib/whois/record/parser/whois.nic.cd.rb
whois-3.6.1 lib/whois/record/parser/whois.nic.cd.rb
whois-3.6.0 lib/whois/record/parser/whois.nic.cd.rb
whois-3.5.9 lib/whois/record/parser/whois.nic.cd.rb
whois-3.5.8 lib/whois/record/parser/whois.nic.cd.rb
whois-3.5.7 lib/whois/record/parser/whois.nic.cd.rb
whois-3.5.6 lib/whois/record/parser/whois.nic.cd.rb
whois-3.5.5 lib/whois/record/parser/whois.nic.cd.rb
whois-3.5.4 lib/whois/record/parser/whois.nic.cd.rb
whois-3.5.3 lib/whois/record/parser/whois.nic.cd.rb
whois-3.5.2 lib/whois/record/parser/whois.nic.cd.rb
whois-3.5.1 lib/whois/record/parser/whois.nic.cd.rb
whois-3.5.0 lib/whois/record/parser/whois.nic.cd.rb
whois-3.4.5 lib/whois/record/parser/whois.nic.cd.rb