2014-12-07 05:29:37 -05:00
|
|
|
class ProjectServiceWorker
|
2017-11-28 11:08:30 -05:00
|
|
|
include ApplicationWorker
|
2014-12-07 05:29:37 -05:00
|
|
|
|
2017-07-17 11:38:02 -04:00
|
|
|
sidekiq_options dead: false
|
|
|
|
|
2014-12-07 05:29:37 -05:00
|
|
|
def perform(hook_id, data)
|
2014-12-29 10:48:43 -05:00
|
|
|
data = data.with_indifferent_access
|
2014-12-07 05:29:37 -05:00
|
|
|
Service.find(hook_id).execute(data)
|
|
|
|
end
|
|
|
|
end
|