lib/cocina/models/dro_with_metadata.rb in cocina-models-0.75.0 vs lib/cocina/models/dro_with_metadata.rb in cocina-models-0.76.0
- old
+ new
@@ -37,14 +37,14 @@
attribute(:access, DROAccess.default { DROAccess.new })
attribute(:administrative, Administrative.default { Administrative.new })
attribute(:description, Description.default { Description.new })
attribute(:identification, Identification.default { Identification.new })
attribute(:structural, DROStructural.default { DROStructural.new })
- attribute :geographic, Geographic.optional.meta(omittable: true)
+ attribute? :geographic, Geographic.optional
# 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