lib/cocina/models/request_file.rb in cocina-models-0.36.0 vs lib/cocina/models/request_file.rb in cocina-models-0.37.0
- old
+ new
@@ -14,10 +14,10 @@
attribute :version, Types::Strict::Integer
attribute :hasMimeType, Types::Strict::String.meta(omittable: true)
attribute :externalIdentifier, Types::Strict::String.meta(omittable: true)
attribute :use, Types::Strict::String.meta(omittable: true)
attribute :hasMessageDigests, Types::Strict::Array.of(MessageDigest).default([].freeze)
- attribute(:access, Access.default { Access.new })
+ attribute(:access, FileAccess.default { FileAccess.new })
attribute(:administrative, FileAdministrative.default { FileAdministrative.new })
attribute :presentation, Presentation.optional.meta(omittable: true)
end
end
end