lib/cocina/models/request_dro.rb in cocina-models-0.24.0 vs lib/cocina/models/request_dro.rb in cocina-models-0.25.0
- old
+ new
@@ -19,9 +19,10 @@
attribute(:access, DRO::Access.default { DRO::Access.new })
attribute(:administrative, DRO::Administrative.default { DRO::Administrative.new })
# Allowing description to be omittable for now (until rolled out to consumers),
# but I think it's actually required for every DRO
attribute :description, Description.optional.meta(omittable: true)
+ attribute :geographic, DRO::Geographic.optional.meta(omittable: true)
attribute(:identification, DRO::Identification.default { DRO::Identification.new })
attribute(:structural, Structural.default { Structural.new })
def self.from_dynamic(dyn)
RequestDRO.new(dyn)