Sha256: 12565db9c4a4e05f44667e428161bcf292478959b36e65e6045d06d0ca9b8bb4

Contents?: true

Size: 488 Bytes

Versions: 1

Compression:

Stored size: 488 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class InstitutionWrap < Lutaml::Model::Serializable
      attribute :id, :string
      attribute :institution, Institution, collection: true
      attribute :institution_id, InstitutionId, collection: true

      xml do
        root "institution-wrap"

        map_attribute "id", to: :id
        map_element "institution", to: :institution
        map_element "institution-id", to: :institution_id
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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