Sha256: eaf10cf8212d3897620c1743433e17cab0d60b0e4fd42a7dd17938e1c24c07ef

Contents?: true

Size: 452 Bytes

Versions: 4

Compression:

Stored size: 452 Bytes

Contents

# frozen_string_literal: true

require_relative "copyright"

module Ieee
  module Idams
    # Represents a group of copyright information
    class CopyrightGroup < Lutaml::Model::Serializable
      # Copyright entries
      # @return [Array<Copyright>] copyright information
      attribute :copyright, Copyright, collection: true

      xml do
        root "copyrightgroup"
        map_element "copyright", to: :copyright
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ieee-idams-0.2.9 lib/ieee/idams/copyright_group.rb
ieee-idams-0.2.8 lib/ieee/idams/copyright_group.rb
ieee-idams-0.2.7 lib/ieee/idams/copyright_group.rb
ieee-idams-0.2.6 lib/ieee/idams/copyright_group.rb