Sha256: 7369d6b4522647872d3279c6dd1a2b0d43004a066f8abcf6b6e3de9ec6f17682

Contents?: true

Size: 777 Bytes

Versions: 2

Compression:

Stored size: 777 Bytes

Contents

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


require_relative 'base_icann_compliant'


module Whois
  class Parsers

    # Parser for the whois.godaddy.com server.
    #
    # @see Whois::Parsers::Example
    #   The Example parser for the list of all available methods.
    #
    class WhoisGodaddyCom < BaseIcannCompliant

      # The server is contacted only in case of a registered domain.
      property_supported :available? do
        false
      end

      property_supported :registered? do
        !available?
      end


      property_supported :updated_on do
        node("Update Date") do |value|
          parse_time(value)
        end
      end

    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whois-parser-1.2.0 lib/whois/parsers/whois.godaddy.com.rb
whois-parser-1.1.0 lib/whois/parsers/whois.godaddy.com.rb