Sha256: 4516b8afe4a2e0f6bafb79960dd8809f5128c0d414c247684fc910249eb844c6
Contents?: true
Size: 426 Bytes
Versions: 29
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true # Responsible for copying the following attributes from the work to each file in the file_sets # # * visibility # * lease # * embargo class VisibilityCopyJob < Hyrax::ApplicationJob # @api public # @param [Hyrax::WorkBehavior, Hyrax::Resource] work - a Work model, # using ActiveFedora or Valkyrie def perform(work) Hyrax::VisibilityPropagator.for(source: work).propagate end end
Version data entries
29 entries across 29 versions & 1 rubygems