Class: CurationConcerns::Workflow::DefaultWorkflowStrategy
- Inherits:
-
Object
- Object
- CurationConcerns::Workflow::DefaultWorkflowStrategy
- Defined in:
- app/services/curation_concerns/workflow/default_workflow_strategy.rb
Instance Method Summary collapse
-
#initialize(_work, _attributes) ⇒ DefaultWorkflowStrategy
constructor
A new instance of DefaultWorkflowStrategy.
-
#workflow_name ⇒ String
The name of the workflow to use.
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_name ⇒ String
Returns 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 |