Sha256: 74417e9d964277ae706a9d101ff546f25ec6c4e750d139582fb5b6d8902e1b08
Contents?: true
Size: 706 Bytes
Versions: 29
Compression:
Stored size: 706 Bytes
Contents
# frozen_string_literal: true # 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::WorkBehavior # This must come after the WorkBehavior because it finalizes the metadata # schema (by adding accepts_nested_attributes) include ::Hyrax::BasicMetadata 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
29 entries across 29 versions & 1 rubygems