diff options
| author | Robert | 2017-10-17 10:50:41 +0200 |
|---|---|---|
| committer | Robert | 2017-10-17 12:19:59 +0200 |
| commit | bacb624a9d0415337dfab6418de240cd2afa7305 (patch) | |
| tree | 71c1c0b98963f92935425666ee0c097c27816416 /app/workers | |
| parent | 8fffc6dd27175b20cc18c246a10151bc98bba4ee (diff) | |
| download | chouette-core-bacb624a9d0415337dfab6418de240cd2afa7305.tar.bz2 | |
Fixes: #4727@0.5h; Worker speced and implemented
Diffstat (limited to 'app/workers')
| -rw-r--r-- | app/workers/compliance_control_set_cloning_worker.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/workers/compliance_control_set_cloning_worker.rb b/app/workers/compliance_control_set_cloning_worker.rb new file mode 100644 index 000000000..6194a06ad --- /dev/null +++ b/app/workers/compliance_control_set_cloning_worker.rb @@ -0,0 +1,8 @@ +class ComplianceControlSetCloningWorker + include Sidekiq::Worker + + def perform id + ComplianceControlSetCloner.new.copy id + end + +end |
