2021-04-29 21:17:54 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Clusters
|
|
|
|
class IntegrationPresenter < Gitlab::View::Presenter::Delegated
|
2021-11-18 22:05:49 +05:30
|
|
|
presents ::Clusters::Integrations::Prometheus, ::Clusters::Integrations::ElasticStack, as: :integration
|
2021-04-29 21:17:54 +05:30
|
|
|
|
|
|
|
def application_type
|
|
|
|
integration.class.name.demodulize.underscore
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|