Class: Hyrax::Transactions::AdminSetCreate

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

Overview

Creates a Hyrax::AdministrativeSet from a ChangeSet

Since:

  • 3.2.0

Constant Summary collapse

DEFAULT_STEPS =

Since:

  • 3.2.0

['change_set.set_user_as_creator',
'change_set.apply',
'admin_set_resource.apply_collection_type_permissions',
'admin_set_resource.save_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) ⇒ AdminSetCreate

Returns a new instance of AdminSetCreate.

See Also:

Since:

  • 3.2.0


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

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