lib/cocina/models/collection_with_metadata.rb in cocina-models-0.75.0 vs lib/cocina/models/collection_with_metadata.rb in cocina-models-0.76.0

- old
+ new

@@ -27,12 +27,12 @@ attribute(:access, CollectionAccess.default { CollectionAccess.new }) attribute(:administrative, Administrative.default { Administrative.new }) attribute(:description, Description.default { Description.new }) attribute(:identification, CollectionIdentification.default { CollectionIdentification.new }) # When the object was created. - attribute :created, Types::Params::DateTime.meta(omittable: true) + attribute? :created, Types::Params::DateTime # When the object was modified. - attribute :modified, Types::Params::DateTime.meta(omittable: true) + attribute? :modified, Types::Params::DateTime # Key for optimistic locking. The contents of the key is not specified. attribute :lock, Types::Strict::String end end end