gitlab-org--gitlab-foss/app/presenters/clusters/integration_presenter.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
276 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Clusters
class IntegrationPresenter < Gitlab::View::Presenter::Delegated
presents ::Clusters::Integrations::Prometheus, as: :integration
def application_type
integration.class.name.demodulize.underscore
end
end
end