debian-mirror-gitlab/app/presenters/ci/bridge_presenter.rb
2022-06-21 17:19:12 +05:30

12 lines
266 B
Ruby

# frozen_string_literal: true
module Ci
class BridgePresenter < ProcessablePresenter
presents ::Ci::Bridge, as: :bridge
delegator_override :detailed_status
def detailed_status
@detailed_status ||= bridge.detailed_status(user)
end
end
end