gitlab-org--gitlab-foss/app/services/test_hook_service.rb

7 lines
179 B
Ruby
Raw Normal View History

class TestHookService
def execute(hook, current_user)
2015-01-12 12:08:25 -05:00
data = Gitlab::PushDataBuilder.build_sample(hook.project, current_user)
hook.execute(data, 'push_hooks')
end
end