2019-07-07 11:18:12 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Ci
|
2020-03-13 15:44:24 +05:30
|
|
|
class BridgePresenter < ProcessablePresenter
|
2022-06-21 17:19:12 +05:30
|
|
|
presents ::Ci::Bridge, as: :bridge
|
2021-11-18 22:05:49 +05:30
|
|
|
|
|
|
|
delegator_override :detailed_status
|
2019-07-07 11:18:12 +05:30
|
|
|
def detailed_status
|
2022-06-21 17:19:12 +05:30
|
|
|
@detailed_status ||= bridge.detailed_status(user)
|
2019-07-07 11:18:12 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|