Class: ServiceHookPresenter

Inherits:
Gitlab::View::Presenter::Delegated show all
Defined in:
app/presenters/service_hook_presenter.rb

Instance Attribute Summary

Attributes included from Gitlab::View::Presenter::Base

#subject

Instance Method Summary collapse

Methods inherited from Gitlab::View::Presenter::Delegated

#initialize

Methods included from Gitlab::View::Presenter::Base

#can?, #declarative_policy_delegate, #is_a?, #present, #url_builder, #web_path, #web_url

Methods included from Gitlab::Allowable

#can?

Methods included from Gitlab::Routing

add_helpers, includes_helpers, redirect_legacy_paths, url_helpers

Constructor Details

This class inherits a constructor from Gitlab::View::Presenter::Delegated

Instance Method Details

#logs_details_path(log) ⇒ Object


6
7
8
# File 'app/presenters/service_hook_presenter.rb', line 6

def logs_details_path(log)
  project_service_hook_log_path(service.project, service, log)
end

#logs_retry_path(log) ⇒ Object


10
11
12
# File 'app/presenters/service_hook_presenter.rb', line 10

def logs_retry_path(log)
  retry_project_service_hook_log_path(service.project, service, log)
end