Class: Hyrax::Transactions::AdminSetCreate
- Inherits:
-
Transaction
- Object
- Transaction
- Hyrax::Transactions::AdminSetCreate
- Defined in:
- lib/hyrax/transactions/admin_set_create.rb
Overview
Creates a Hyrax::AdministrativeSet from a ChangeSet
Constant Summary collapse
- DEFAULT_STEPS =
['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
Instance Method Summary collapse
-
#initialize(container: Container, steps: DEFAULT_STEPS) ⇒ AdminSetCreate
constructor
A new instance of AdminSetCreate.
Methods inherited from Transaction
Constructor Details
#initialize(container: Container, steps: DEFAULT_STEPS) ⇒ AdminSetCreate
Returns a new instance of AdminSetCreate.
18 19 20 |
# File 'lib/hyrax/transactions/admin_set_create.rb', line 18 def initialize(container: Container, steps: DEFAULT_STEPS) super end |