Class: Cocina::Models::CollectionWithMetadata

Inherits:
Struct
  • Object
show all
Includes:
Checkable, Validatable
Defined in:
lib/cocina/models/collection_with_metadata.rb

Overview

Collection with addition object metadata.

Constant Summary collapse

TYPES =
['https://cocina.sul.stanford.edu/models/collection',
'https://cocina.sul.stanford.edu/models/curated-collection',
'https://cocina.sul.stanford.edu/models/user-collection',
'https://cocina.sul.stanford.edu/models/exhibit',
'https://cocina.sul.stanford.edu/models/series'].freeze

Method Summary

Methods included from Checkable

#admin_policy?, #collection?, #dro?, #file?, #file_set?

Methods included from Validatable

#new