Class: Cocina::Models::RequestCollection

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

Overview

Same as a Collection, but doesn’t have an externalIdentifier as one will be created

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