2018-06-27 03:23:28 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-02-19 13:09:10 -05:00
|
|
|
class SystemHookPushWorker # rubocop:disable Scalability/IdempotentWorker
|
2017-11-28 11:08:30 -05:00
|
|
|
include ApplicationWorker
|
2017-03-07 07:59:20 -05:00
|
|
|
|
2019-10-18 07:11:44 -04:00
|
|
|
feature_category :source_code_management
|
|
|
|
|
2017-03-07 07:59:20 -05:00
|
|
|
def perform(push_data, hook_id)
|
|
|
|
SystemHooksService.new.execute_hooks(push_data, hook_id)
|
|
|
|
end
|
|
|
|
end
|