25 lines
498 B
Ruby
25 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
|