Sha256: 19399f6d4fe4ce07a7dfbff209cbfbb32b4deefc3deda183962fb92b23f84fc6

Contents?: true

Size: 681 Bytes

Versions: 6

Compression:

Stored size: 681 Bytes

Contents

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


require 'whois/record/parser/base_cocca'


module Whois
  class Record
    class Parser

      # Parser for the whois.pnina.ps server.
      #
      # @see Whois::Record::Parser::Example
      #   The Example parser for the list of all available methods.
      #
      class WhoisPninaPs < BaseCocca
        self.status_mapping = {
          "active" => :registered,
          "delegated" => :registered,
          "not registered" => :available,
          "active - pending transfer" => :registered,
        }
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
whois-3.4.2 lib/whois/record/parser/whois.pnina.ps.rb
whois-3.4.1 lib/whois/record/parser/whois.pnina.ps.rb
whois-3.4.0 lib/whois/record/parser/whois.pnina.ps.rb
whois-3.3.1 lib/whois/record/parser/whois.pnina.ps.rb
whois-3.3.0 lib/whois/record/parser/whois.pnina.ps.rb
whois-3.2.1 lib/whois/record/parser/whois.pnina.ps.rb