Class: WorkflowInstance

Inherits:
ApplicationRecord show all
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

Methods included from Dunlop::WorkflowInstanceModel

#is_planned?

Methods inherited from ApplicationRecord

truncate

Instance Method Details

#presentation_nameObject

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