lib/cocina/models/descriptive_admin_metadata.rb in cocina-models-0.63.0 vs lib/cocina/models/descriptive_admin_metadata.rb in cocina-models-0.63.1
- old
+ new
@@ -1,14 +1,14 @@
# frozen_string_literal: true
module Cocina
module Models
class DescriptiveAdminMetadata < Struct
- attribute :contributor, Types::Strict::Array.of(Contributor).default([])
- attribute :event, Types::Strict::Array.of(Event).default([])
- attribute :language, Types::Strict::Array.of(Language).default([])
- attribute :note, Types::Strict::Array.of(DescriptiveValue).default([])
- attribute :metadataStandard, Types::Strict::Array.of(Standard).default([])
- attribute :identifier, Types::Strict::Array.of(DescriptiveValue).default([])
+ attribute :contributor, Types::Strict::Array.of(Contributor).default([].freeze)
+ attribute :event, Types::Strict::Array.of(Event).default([].freeze)
+ attribute :language, Types::Strict::Array.of(Language).default([].freeze)
+ attribute :note, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
+ attribute :metadataStandard, Types::Strict::Array.of(Standard).default([].freeze)
+ attribute :identifier, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
end
end
end