Class: Hyrax::Transactions::WorkDestroy
- Inherits:
-
Transaction
- Object
- Transaction
- Hyrax::Transactions::WorkDestroy
- Defined in:
- lib/hyrax/transactions/work_destroy.rb
Overview
Destroys a work resource
Constant Summary collapse
- DEFAULT_STEPS =
['work_resource.delete_all_file_sets', 'work_resource.delete_acl', 'work_resource.delete'].freeze
Instance Attribute Summary
Attributes inherited from Transaction
Instance Method Summary collapse
-
#initialize(container: Container, steps: DEFAULT_STEPS) ⇒ WorkDestroy
constructor
A new instance of WorkDestroy.
Methods inherited from Transaction
Constructor Details
#initialize(container: Container, steps: DEFAULT_STEPS) ⇒ WorkDestroy
Returns a new instance of WorkDestroy.
17 18 19 |
# File 'lib/hyrax/transactions/work_destroy.rb', line 17 def initialize(container: Container, steps: DEFAULT_STEPS) super end |