Class: Hyrax::Transactions::WorkDestroy

Inherits:
Transaction show all
Defined in:
lib/hyrax/transactions/work_destroy.rb

Overview

Destroys a work resource

Since:

  • 3.0.0

Constant Summary collapse

DEFAULT_STEPS =

Since:

  • 3.0.0

['work_resource.delete'].freeze

Instance Attribute Summary

Attributes inherited from Transaction

#container, #steps

Instance Method Summary collapse

Methods inherited from Transaction

#call, #with_step_args

Constructor Details

#initialize(container: Container, steps: DEFAULT_STEPS) ⇒ WorkDestroy

Returns a new instance of WorkDestroy.

See Also:

Since:

  • 3.0.0


15
16
17
# File 'lib/hyrax/transactions/work_destroy.rb', line 15

def initialize(container: Container, steps: DEFAULT_STEPS)
  super
end