Class: Hyrax::Transactions::AdminSetDestroy

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

Overview

Destroys a Hyraxe::AdministrativeSet

Since:

  • 3.4.0

Constant Summary collapse

DEFAULT_STEPS =

Since:

  • 3.4.0

['admin_set_resource.check_default',
'admin_set_resource.check_empty',
'admin_set_resource.delete',
'admin_set_resource.delete_acl'].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) ⇒ AdminSetDestroy

Returns a new instance of AdminSetDestroy.

See Also:

Since:

  • 3.4.0



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

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