Sha256: ed0666fdeff5eef0403d6634f4ad34a700a7c8243dd63f3be0c17059b658a076
Contents?: true
Size: 488 Bytes
Versions: 1
Compression:
Stored size: 488 Bytes
Contents
# encoding: UTF-8 # Global requires require 'multi_json' require 'pmap' # Local requires require 'gooddata/models/models' module ProcessHelper PROCESS_ID = 'dc143d80-58a1-4acd-96b6-8d11fc4571de' DEPLOY_NAME = 'graph' class << self def remove_old_processes(project) processes = project.processes processes.pmap do |process| next if process.obj_id == PROCESS_ID puts "Deleting #{process.inspect}" process.delete end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gooddata-0.6.11 | spec/helpers/process_helper.rb |