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(env) ⇒ Boolean

Returns true if create was successful.

Parameters:

Returns:

  • (Boolean)

    true if create was successful


14
15
16
# File 'app/actors/hyrax/actors/initialize_workflow_actor.rb', line 14

def create(env)
  next_actor.create(env) && create_workflow(env)
end