Sha256: c04a1e2a16839273b0f1d502f1668e3287e2dac655e2375b1986e97486376cd1
Contents?: true
Size: 405 Bytes
Versions: 1
Compression:
Stored size: 405 Bytes
Contents
# encoding: UTF-8 require 'pmap' require_relative 'process_helper' module ScheduleHelper SCHEDULE_ID = '53e029bde4b035034ad4abb6' class << self def remove_old_schedules(project) schedules = project.schedules schedules.pmap do |schedule| next if schedule.obj_id == SCHEDULE_ID puts "Deleting #{schedule.inspect}" schedule.delete end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gooddata-0.6.11 | spec/helpers/schedule_helper.rb |