Sha256: 8d8098aee3a2555a08b0036d863cd7062de850eb5debf63b7d76291052f3fa67

Contents?: true

Size: 640 Bytes

Versions: 9

Compression:

Stored size: 640 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.gg server.
      #
      # @see Whois::Record::Parser::Example
      #   The Example parser for the list of all available methods.
      #
      class WhoisGg < BaseCocca2

        property_supported :status do
          list = Array.wrap(node("Domain Status")).map(&:downcase)
          list.include?("available") ? :available : super()
        end

      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
whois-3.6.2 lib/whois/record/parser/whois.gg.rb
whois-3.6.1 lib/whois/record/parser/whois.gg.rb
whois-3.6.0 lib/whois/record/parser/whois.gg.rb
whois-3.5.9 lib/whois/record/parser/whois.gg.rb
whois-3.5.8 lib/whois/record/parser/whois.gg.rb
whois-3.5.7 lib/whois/record/parser/whois.gg.rb
whois-3.5.6 lib/whois/record/parser/whois.gg.rb
whois-3.5.5 lib/whois/record/parser/whois.gg.rb
whois-3.5.4 lib/whois/record/parser/whois.gg.rb