Class: Hyrax::Actors::InitializeWorkflowActor
- Inherits:
-
AbstractActor
- Object
- AbstractActor
- Hyrax::Actors::InitializeWorkflowActor
- Defined in:
- app/actors/hyrax/actors/initialize_workflow_actor.rb
Overview
Responsible for generating the workflow for the given curation_concern. Done through direct collaboration with the configured Hyrax::Actors::InitializeWorkflowActor.workflow_factory
Instance Attribute Summary
Attributes inherited from AbstractActor
Instance Method Summary collapse
Methods inherited from AbstractActor
Constructor Details
This class inherits a constructor from Hyrax::Actors::AbstractActor
Instance Method Details
#create(attributes) ⇒ Object
12 13 14 |
# File 'app/actors/hyrax/actors/initialize_workflow_actor.rb', line 12 def create(attributes) next_actor.create(attributes) && create_workflow(attributes) end |