Sha256: 2e1f769404a7d6f499fd791222382b2a20d0c7451a1de95aab56de03d57add5c

Contents?: true

Size: 714 Bytes

Versions: 7

Compression:

Stored size: 714 Bytes

Contents

#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
# Copyright (c) 2009-2012 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

7 entries across 7 versions & 1 rubygems

Version Path
whois-2.6.2 lib/whois/record/parser/whois.aero.rb
whois-2.6.1 lib/whois/record/parser/whois.aero.rb
whois-2.6.0 lib/whois/record/parser/whois.aero.rb
whois-2.5.1 lib/whois/record/parser/whois.aero.rb
whois-2.5.0 lib/whois/record/parser/whois.aero.rb
whois-2.4.0 lib/whois/record/parser/whois.aero.rb
whois-2.3.0 lib/whois/record/parser/whois.aero.rb