debian-mirror-gitlab/app/graphql/types/alert_management/http_integration_type.rb
2021-06-08 01:23:25 +05:30

24 lines
498 B
Ruby

# 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_mod