2021-04-07 00:09:26 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Clusters
|
|
|
|
class IntegrationPresenter < Gitlab::View::Presenter::Delegated
|
|
|
|
presents :integration
|
|
|
|
|
|
|
|
def application_type
|
2021-04-15 12:09:05 +00:00
|
|
|
integration.class.name.demodulize.underscore
|
2021-04-07 00:09:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|