gitlab-org--gitlab-foss/app/presenters/ci/bridge_presenter.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
266 B
Ruby
Raw Normal View History

2019-04-03 06:20:26 -04:00
# frozen_string_literal: true
module Ci
class BridgePresenter < ProcessablePresenter
presents ::Ci::Bridge, as: :bridge
delegator_override :detailed_status
2019-04-03 06:20:26 -04:00
def detailed_status
@detailed_status ||= bridge.detailed_status(user)
2019-04-03 06:20:26 -04:00
end
end
end