Sha256: 203455110c278e4c1591211a99a3cb30cbd37ffcdbb6c5d1fc6f140af2858b6b

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

module Goldendocx
  module Parts
    module Properties
      class CreatedAtProperty
        include Goldendocx::Element

        namespace :dcterms
        tag :created

        attribute :type, namespace: :xsi, default: 'dcterms:W3CDTF'
        embeds_one :timestamp, class_name: 'Time'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
goldendocx-0.3.0 lib/goldendocx/parts/properties/created_at_property.rb
goldendocx-0.2.3 lib/goldendocx/parts/properties/created_at_property.rb