Sha256: cdb3059d31a5fb435d3ccee33e11e80c0c284120370f7a7d1406be7f0bf4e4a3

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class History < Lutaml::Model::Serializable
      attribute :id, :string
      attribute :date, Date, collection: true

      xml do
        root "history"

        map_attribute "id", to: :id
        map_element "date", to: :date
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
niso-jats-0.1.1 lib/niso/jats/history.rb