2021-04-06 20:09:26 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Clusters
|
|
|
|
class IntegrationPresenter < Gitlab::View::Presenter::Delegated
|
2022-07-05 11:08:48 -04:00
|
|
|
presents ::Clusters::Integrations::Prometheus, as: :integration
|
2021-04-06 20:09:26 -04:00
|
|
|
|
|
|
|
def application_type
|
2021-04-15 08:09:05 -04:00
|
|
|
integration.class.name.demodulize.underscore
|
2021-04-06 20:09:26 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|