lib/cocina/models/file.rb in cocina-models-0.36.0 vs lib/cocina/models/file.rb in cocina-models-0.37.0

- old
+ new

@@ -22,10 +22,10 @@ # MIME Type of the File. attribute :hasMimeType, Types::Strict::String.meta(omittable: true) # Use for the File. 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