Sha256: fc48509fa80e645a3773b3ef35eb0b8628b46554906f33f51f762642bbe3dbcd

Contents?: true

Size: 450 Bytes

Versions: 6

Compression:

Stored size: 450 Bytes

Contents

# frozen_string_literal: true

require_relative "affiliation"

module Ieee
  module Idams
    # Represents a group of institutional affiliations
    class AffiliationGroup < Lutaml::Model::Serializable
      # List of affiliations
      # @return [Array<Affiliation>] institutional affiliations
      attribute :affn, Affiliation, collection: true

      xml do
        root "affgrp"
        map_element "affn", to: :affn
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ieee-idams-0.2.11 lib/ieee/idams/affiliation_group.rb
ieee-idams-0.2.10 lib/ieee/idams/affiliation_group.rb
ieee-idams-0.2.9 lib/ieee/idams/affiliation_group.rb
ieee-idams-0.2.8 lib/ieee/idams/affiliation_group.rb
ieee-idams-0.2.7 lib/ieee/idams/affiliation_group.rb
ieee-idams-0.2.6 lib/ieee/idams/affiliation_group.rb