Class: Labimotion::ElementKlassesRevision
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Labimotion::ElementKlassesRevision
- Includes:
- Workflow
- Defined in:
- lib/labimotion/models/element_klasses_revision.rb
Instance Method Summary collapse
Methods included from Workflow
Instance Method Details
#migrate_workflow ⇒ Object
13 14 15 16 17 |
# File 'lib/labimotion/models/element_klasses_revision.rb', line 13 def migrate_workflow return if properties_release.nil? || properties_release['flow'].nil? update_column(:properties_release, split_workflow(properties_release)) if properties_release['flow'] end |