Class: Hyrax::Transactions::FileSetDestroy

Inherits:
Transaction
  • Object
show all
Defined in:
lib/hyrax/transactions/file_set_destroy.rb

Overview

destroys a FileSet resource.

Since:

  • 3.1.0

Constant Summary collapse

DEFAULT_STEPS =

Since:

  • 3.1.0

['file_set.remove_from_work',
'file_set.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) ⇒ FileSetDestroy

Returns a new instance of FileSetDestroy.

See Also:

Since:

  • 3.1.0


16
17
18
# File 'lib/hyrax/transactions/file_set_destroy.rb', line 16

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