debian-mirror-gitlab/app/services/test_hook_service.rb

7 lines
179 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
class TestHookService
def execute(hook, current_user)
2015-04-26 12:48:37 +05:30
data = Gitlab::PushDataBuilder.build_sample(hook.project, current_user)
2015-09-11 14:41:01 +05:30
hook.execute(data, 'push_hooks')
2014-09-02 18:07:02 +05:30
end
end