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.delete_all_file_metadata',
'file_set.remove_from_work',
'file_set.delete_acl',
'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



18
19
20
# File 'lib/hyrax/transactions/file_set_destroy.rb', line 18

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