Sha256: 8008fc89c18309afa9acdfb367f7158a2555f2f958df71a26ba0a403564ce006
Contents?: true
Size: 535 Bytes
Versions: 4
Compression:
Stored size: 535 Bytes
Contents
# frozen_string_literal: true require 'hyrax/transactions/transaction' module Hyrax module Transactions ## # Destroys a work resource # # @since 3.0.0 class WorkDestroy < Transaction DEFAULT_STEPS = ['work_resource.delete_all_file_sets', 'work_resource.delete_acl', 'work_resource.delete'].freeze ## # @see Hyrax::Transactions::Transaction def initialize(container: Container, steps: DEFAULT_STEPS) super end end end end
Version data entries
4 entries across 4 versions & 1 rubygems