Sha256: 766a49bbf3f408a7253946fd28e98de0d90691ea2bb5cecd8b9249ddecaa9ba1
Contents?: true
Size: 551 Bytes
Versions: 10
Compression:
Stored size: 551 Bytes
Contents
# This stands in for an object to be created from the BatchUploadForm. # It should never actually be persisted in the repository. # The properties on this form should be copied to a real work type. class BatchUploadItem < ActiveFedora::Base include ::Hyrax::BasicMetadata include Hyrax::WorkBehavior attr_accessor :payload_concern # a Class name: what is this a batch of? # This mocks out the behavior of Hydra::PCDM::PcdmBehavior def in_collection_ids [] end def create_or_update raise "This is a read only record" end end
Version data entries
10 entries across 10 versions & 2 rubygems