diff options
Diffstat (limited to 'app/graphql/types/alert_management/http_integration_type.rb')
-rw-r--r-- | app/graphql/types/alert_management/http_integration_type.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/graphql/types/alert_management/http_integration_type.rb b/app/graphql/types/alert_management/http_integration_type.rb new file mode 100644 index 00000000000..88782050b94 --- /dev/null +++ b/app/graphql/types/alert_management/http_integration_type.rb @@ -0,0 +1,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 |