Sha256: 892eed3d97ff4f0ccca0fcd917cf79c3cf58816cc17753d5800525d4cc63497a

Contents?: true

Size: 587 Bytes

Versions: 6

Compression:

Stored size: 587 Bytes

Contents

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


require_relative 'base_cocca2'


module Whois
  class Parsers

    # Parser for the whois.pnina.ps server.
    #
    # @see Whois::Parsers::Example
    #   The Example parser for the list of all available methods.
    #
    class WhoisPninaPs < BaseCocca2

      property_supported :status do
        list = Array.wrap(node("Domain Status")).map(&:downcase)
        list.include?("available") ? :available : super()
      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.pnina.ps.rb
hetzner-whois-parser-1.0.1.rc2 lib/whois/parsers/whois.pnina.ps.rb
hetzner-whois-parser-1.0.1.rc1 lib/whois/parsers/whois.pnina.ps.rb
whois-parser-1.0.0 lib/whois/parsers/whois.pnina.ps.rb
whois-parser-1.0.0.pre.beta2 lib/whois/parsers/whois.pnina.ps.rb
whois-parser-1.0.0.pre.beta1 lib/whois/parsers/whois.pnina.ps.rb