Class: CurationConcerns::Workflow::DefaultWorkflowStrategy

Inherits:
Object
  • Object
show all
Defined in:
app/services/curation_concerns/workflow/default_workflow_strategy.rb

Instance Method Summary collapse

Constructor Details

#initialize(_work, _attributes) ⇒ DefaultWorkflowStrategy

Returns a new instance of DefaultWorkflowStrategy.



4
5
# File 'app/services/curation_concerns/workflow/default_workflow_strategy.rb', line 4

def initialize(_work, _attributes)
end

Instance Method Details

#workflow_nameString

Returns The name of the workflow to use.

Returns:

  • (String)

    The name of the workflow to use



8
9
10
# File 'app/services/curation_concerns/workflow/default_workflow_strategy.rb', line 8

def workflow_name
  'default'
end