Sha256: b159b44a5b03a2d37761f5de4e0ca643ee142464ddb0b279e650f09ca52792d5

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class PubHistory < Lutaml::Model::Serializable
      attribute :id, :string
      attribute :event, Event, collection: true

      xml do
        root "pub-history"

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

Version data entries

1 entries across 1 versions & 1 rubygems

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