Welcome to mirror list, hosted at ThFree Co, Russian Federation.

integration_presenter.rb « clusters « presenters « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f7be59f00f3c70d3e8d04373ca2303bde4121dde (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Clusters
  class IntegrationPresenter < Gitlab::View::Presenter::Delegated
    presents ::Clusters::Integrations::Prometheus, ::Clusters::Integrations::ElasticStack, as: :integration

    def application_type
      integration.class.name.demodulize.underscore
    end
  end
end