Class: Hyrax::Actors::InitializeWorkflowActor

Inherits:
AbstractActor show all
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

See Also:

Instance Attribute Summary

Attributes inherited from AbstractActor

#next_actor

Instance Method Summary collapse

Methods inherited from AbstractActor

#initialize

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