Class: BPL::Derivatives::PersistOutputFileService
- Inherits:
-
Object
- Object
- BPL::Derivatives::PersistOutputFileService
- Defined in:
- lib/bpl/derivatives/services/persist_output_file_service.rb
Direct Known Subclasses
PersistBasicContainedOutputFileService, PersistDatastreamOutputService, PersistFileSystemOutputService
Class Method Summary collapse
-
.call(__object_or_file_path, _directives) ⇒ Object
Persists the file within the object at destination_name.
Class Method Details
.call(__object_or_file_path, _directives) ⇒ Object
Persists the file within the object at destination_name. Uses basic containment. If you want to use direct containment (ie. with PCDM) you must use a different service (ie. Hydra::Works::AddFileToGenericFile Service)
8 9 10 |
# File 'lib/bpl/derivatives/services/persist_output_file_service.rb', line 8 def self.call(__object_or_file_path, _directives) raise NotImplementedError, "PersistOutputFileService is an abstract class. Implement `call' on #{self.class.name}" end |