Class: WorkflowInstance
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- WorkflowInstance
- Includes:
- Dunlop::WorkflowInstanceModel, DataSetup
- Defined in:
- lib/generators/dunlop/install/workflow/templates/models/workflow_instance.rb
Defined Under Namespace
Modules: DataSetup Classes: IndexCsvBuilder, SelectionCsvBuilder
Instance Method Summary collapse
-
#presentation_name ⇒ Object
The name by which the workflow instance can be recognized.
Methods included from Dunlop::WorkflowInstanceModel
Methods inherited from ApplicationRecord
Instance Method Details
#presentation_name ⇒ Object
The name by which the workflow instance can be recognized
6 7 8 |
# File 'lib/generators/dunlop/install/workflow/templates/models/workflow_instance.rb', line 6 def presentation_name [id, state].join('-') end |