2020-01-01 13:55:28 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class ServiceHookPresenter < Gitlab::View::Presenter::Delegated
|
2021-11-18 22:05:49 +05:30
|
|
|
presents ::ServiceHook, as: :service_hook
|
2020-01-01 13:55:28 +05:30
|
|
|
|
|
|
|
def logs_details_path(log)
|
2021-06-08 01:23:25 +05:30
|
|
|
project_service_hook_log_path(integration.project, integration, log)
|
2020-01-01 13:55:28 +05:30
|
|
|
end
|
|
|
|
|
|
|
|
def logs_retry_path(log)
|
2021-06-08 01:23:25 +05:30
|
|
|
retry_project_service_hook_log_path(integration.project, integration, log)
|
2020-01-01 13:55:28 +05:30
|
|
|
end
|
|
|
|
end
|