Sha256: a23bfa43c9777a3bdc1870a705047d5f37a84b7189db254036c5fd7bacc8ee5a
Contents?: true
Size: 811 Bytes
Versions: 11
Compression:
Stored size: 811 Bytes
Contents
# frozen_string_literal: true require 'hyrax/transactions/transaction' module Hyrax module Transactions ## # Creates a Work from a ChangeSet # # @since 3.0.0 class WorkCreate < Transaction DEFAULT_STEPS = ['change_set.set_default_admin_set', 'change_set.ensure_admin_set', 'change_set.set_user_as_depositor', 'change_set.apply', 'work_resource.save_acl', 'work_resource.add_file_sets', 'work_resource.change_depositor', 'work_resource.add_to_parent'].freeze ## # @see Hyrax::Transactions::Transaction def initialize(container: Container, steps: DEFAULT_STEPS) super end end end end
Version data entries
11 entries across 11 versions & 1 rubygems