gitlab-org--gitlab-foss/app/services/test_hook_service.rb
2015-01-12 09:08:25 -08:00

6 lines
165 B
Ruby

class TestHookService
def execute(hook, current_user)
data = Gitlab::PushDataBuilder.build_sample(hook.project, current_user)
hook.execute(data)
end
end