Class: CurationConcerns::Actors::InitializeWorkflowActor

Inherits:
AbstractActor
  • Object
show all
Defined in:
app/actors/curation_concerns/actors/initialize_workflow_actor.rb

Overview

Since:

  • 0.14.0

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 CurationConcerns::Actors::AbstractActor

Instance Method Details

#create(attributes) ⇒ Object

Since:

  • 0.14.0



7
8
9
# File 'app/actors/curation_concerns/actors/initialize_workflow_actor.rb', line 7

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