Sha256: 552967a84cfd764f193f56c0da02f0cc207c366ca1a4405f1591bdc7a08e27db

Contents?: true

Size: 714 Bytes

Versions: 1

Compression:

Stored size: 714 Bytes

Contents

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


require 'whois/record/parser/base_afilias'


module Whois
  class Record
    class Parser

      # Parser for the whois.aero server.
      class WhoisAero < BaseAfilias

        property_supported :status do
          Array.wrap(node("Domain Status"))
        end


        property_supported :updated_on do
          node("Updated On") do |value|
            Time.parse(value)
          end
        end

        property_supported :expires_on do
          node("Expires On") do |value|
            Time.parse(value)
          end
        end

      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
whois-2.2.0 lib/whois/record/parser/whois.aero.rb