Sha256: e03bc7ed6b3e787c6d424a4cfade04852ffe124c02ee628d41065d987170e43c

Contents?: true

Size: 802 Bytes

Versions: 3

Compression:

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


module Whois
  class Record
    class Parser

      # Parser for the whois.wildwestdomains.com server.
      #
      # @see Whois::Record::Parser::Example
      #   The Example parser for the list of all available methods.
      #
      class WhoisWildwestdomainsCom < BaseIcannCompliant
        self.scanner = Scanners::BaseIcannCompliant, {
            pattern_available: /^Domain (.+) is not registered here.\n/
        }

        property_supported :expires_on do
          node('Registrar Expiration Date') do |value|
            Time.parse(value)
          end
        end

      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
whois-3.4.3 lib/whois/record/parser/whois.wildwestdomains.com.rb
whois-3.4.2 lib/whois/record/parser/whois.wildwestdomains.com.rb
whois-3.4.1 lib/whois/record/parser/whois.wildwestdomains.com.rb