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

http_integration_type.rb « alert_management « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0d5bb50a77cd2d20213badb0131967f7caa97787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# frozen_string_literal: true

module Types
  module AlertManagement
    class HttpIntegrationType < BaseObject
      graphql_name 'AlertManagementHttpIntegration'
      description 'An endpoint and credentials used to accept alerts for a project'

      implements(Types::AlertManagement::IntegrationType)

      authorize :admin_operations

      def type
        :http
      end

      def api_url
        nil
      end
    end
  end
end

Types::AlertManagement::HttpIntegrationType.prepend_ee_mod