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)
|
2022-03-02 08:16:31 +05:30
|
|
|
project_integration_hook_log_path(integration.project, integration, log)
|
2020-01-01 13:55:28 +05:30
|
|
|
end
|
|
|
|
|
|
|
|
def logs_retry_path(log)
|
2022-03-02 08:16:31 +05:30
|
|
|
retry_project_integration_hook_log_path(integration.project, integration, log)
|
2020-01-01 13:55:28 +05:30
|
|
|
end
|
|
|
|
end
|