Method: CurationConcerns::Workflow::WorkflowImporter#call

Defined in:
app/services/curation_concerns/workflow/workflow_importer.rb

#callObject



63
64
65
66
67
# File 'app/services/curation_concerns/workflow/workflow_importer.rb', line 63

def call
  Array.wrap(data.fetch(:workflows)).map do |configuration|
    find_or_create_from(configuration: configuration)
  end
end