Sha256: 6a095b04872753a376ae3172a4c108928d818f8583c331f5bbb0b114aca1d1c2
Contents?: true
Size: 501 Bytes
Versions: 13
Compression:
Stored size: 501 Bytes
Contents
module CurationConcerns module Actors class InitializeWorkflowActor < AbstractActor class_attribute :workflow_factory self.workflow_factory = ::CurationConcerns::Workflow::WorkflowFactory def create(attributes) next_actor.create(attributes) && create_workflow(attributes) end private # @return [TrueClass] def create_workflow(attributes) workflow_factory.create(curation_concern, attributes, user) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems