Class: Hyrax::Transactions::CollectionCreate
- Inherits:
-
Transaction
- Object
- Transaction
- Hyrax::Transactions::CollectionCreate
- Defined in:
- lib/hyrax/transactions/collection_create.rb
Overview
Creates a Collection from a ChangeSet
Constant Summary collapse
- DEFAULT_STEPS =
['change_set.set_user_as_depositor', 'change_set.set_collection_type_gid', 'change_set.add_to_collections', 'change_set.apply', 'collection_resource.apply_collection_type_permissions', 'collection_resource.save_acl'].freeze
Instance Attribute Summary
Attributes inherited from Transaction
Instance Method Summary collapse
-
#initialize(container: Container, steps: DEFAULT_STEPS) ⇒ CollectionCreate
constructor
A new instance of CollectionCreate.
Methods inherited from Transaction
Constructor Details
#initialize(container: Container, steps: DEFAULT_STEPS) ⇒ CollectionCreate
Returns a new instance of CollectionCreate.
20 21 22 |
# File 'lib/hyrax/transactions/collection_create.rb', line 20 def initialize(container: Container, steps: DEFAULT_STEPS) super end |