debian-mirror-gitlab/app/presenters/clusters/integration_presenter.rb

12 lines
234 B
Ruby
Raw Normal View History

2021-04-29 21:17:54 +05:30
# frozen_string_literal: true
module Clusters
class IntegrationPresenter < Gitlab::View::Presenter::Delegated
presents :integration
def application_type
integration.class.name.demodulize.underscore
end
end
end