7 lines
159 B
Ruby
7 lines
159 B
Ruby
|
class TestHookService
|
||
|
def execute(hook, current_user)
|
||
|
data = GitPushService.new.sample_data(hook.project, current_user)
|
||
|
hook.execute(data)
|
||
|
end
|
||
|
end
|