summaryrefslogtreecommitdiff
path: root/app/graphql/types/alert_management/http_integration_type.rb
blob: 88782050b94a8f824b2892fbedf51e467a77e65b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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