Class: VisibilityCopyJob
- Inherits:
-
Hyrax::ApplicationJob
- Object
- ApplicationJob
- Hyrax::ApplicationJob
- VisibilityCopyJob
- Defined in:
- app/jobs/visibility_copy_job.rb
Overview
Responsible for copying the following attributes from the work to each file in the file_sets
-
visibility
-
lease
-
embargo
Instance Method Summary collapse
Instance Method Details
#perform(work) ⇒ Object
11 12 13 |
# File 'app/jobs/visibility_copy_job.rb', line 11 def perform(work) Hyrax::VisibilityPropagator.for(source: work).propagate end |