Sha256: 0af10a4e32d5f4a64c9fba8acfeadf028da32c00b8cf2ec9c16782f4a15295e2

Contents?: true

Size: 799 Bytes

Versions: 4

Compression:

Stored size: 799 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_icann_compliant'


module Whois
  class Record
    class Parser

      # Parser for the whois.schlund.info server.
      #
      # @see Whois::Record::Parser::Example
      #   The Example parser for the list of all available methods.
      #
      class WhoisSchlundInfo < BaseIcannCompliant
        self.scanner = Scanners::BaseIcannCompliant, {
            pattern_available: /^Domain [\w\.]+ is not registered here\.\n/
        }

        property_supported :updated_on do
          node('Updated Date') do |value|
            parse_time(value) unless value.empty?
          end
        end
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
whois-3.6.2 lib/whois/record/parser/whois.schlund.info.rb
whois-3.6.1 lib/whois/record/parser/whois.schlund.info.rb
whois-3.6.0 lib/whois/record/parser/whois.schlund.info.rb
whois-3.5.9 lib/whois/record/parser/whois.schlund.info.rb