Sha256: b4aaa6ca2c3828df60ada75d54463874f56a53837d7722b286e8dc5a8f51d603

Contents?: true

Size: 410 Bytes

Versions: 6

Compression:

Stored size: 410 Bytes

Contents

# frozen_string_literal: true

require_relative "author"

module Ieee
  module Idams
    # Represents a group of authors
    class AuthorGroup < Lutaml::Model::Serializable
      # List of authors
      # @return [Array<Author>] authors of the work
      attribute :author, Author, collection: true

      xml do
        root "authorgroup"
        map_element "author", to: :author
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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