2019-12-17 10:08:15 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class ServiceHookPresenter < Gitlab::View::Presenter::Delegated
|
|
|
|
presents :service_hook
|
|
|
|
|
|
|
|
def logs_details_path(log)
|
2021-05-12 08:10:24 -04:00
|
|
|
project_service_hook_log_path(integration.project, integration, log)
|
2019-12-17 10:08:15 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
def logs_retry_path(log)
|
2021-05-12 08:10:24 -04:00
|
|
|
retry_project_service_hook_log_path(integration.project, integration, log)
|
2019-12-17 10:08:15 -05:00
|
|
|
end
|
|
|
|
end
|