lib/cocina/models/descriptive_access_metadata.rb in cocina-models-0.63.0 vs lib/cocina/models/descriptive_access_metadata.rb in cocina-models-0.63.1

- old
+ new

@@ -1,14 +1,14 @@ # frozen_string_literal: true module Cocina module Models class DescriptiveAccessMetadata < Struct - attribute :url, Types::Strict::Array.of(DescriptiveValue).default([]) - attribute :physicalLocation, Types::Strict::Array.of(DescriptiveValue).default([]) - attribute :digitalLocation, Types::Strict::Array.of(DescriptiveValue).default([]) - attribute :accessContact, Types::Strict::Array.of(DescriptiveValue).default([]) - attribute :digitalRepository, Types::Strict::Array.of(DescriptiveValue).default([]) - attribute :note, Types::Strict::Array.of(DescriptiveValue).default([]) + attribute :url, Types::Strict::Array.of(DescriptiveValue).default([].freeze) + attribute :physicalLocation, Types::Strict::Array.of(DescriptiveValue).default([].freeze) + attribute :digitalLocation, Types::Strict::Array.of(DescriptiveValue).default([].freeze) + attribute :accessContact, Types::Strict::Array.of(DescriptiveValue).default([].freeze) + attribute :digitalRepository, Types::Strict::Array.of(DescriptiveValue).default([].freeze) + attribute :note, Types::Strict::Array.of(DescriptiveValue).default([].freeze) end end end