Class: RailsWorkflow::DefaultImporterPreprocessor
- Inherits:
-
Object
- Object
- RailsWorkflow::DefaultImporterPreprocessor
- Defined in:
- app/services/rails_workflow/default_importer_preprocessor.rb
Instance Method Summary collapse
Instance Method Details
#prepare(json) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'app/services/rails_workflow/default_importer_preprocessor.rb', line 5 def prepare(json) # TODO test after update to Rails 5. Also check with subprocesses if json['operations'] json['process_template']['operations'] = json['operations'] json['process_template'].delete('operation_ids') end json end |