blob: 9d2c73162549c33de3c553a4c00aab84f8f93d44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
module Types
module AlertManagement
class StatusEnum < BaseEnum
graphql_name 'AlertManagementStatus'
description 'Alert status values'
::AlertManagement::Alert.status_names.each do |status|
value status.to_s.upcase, value: status, description: "#{status.to_s.titleize} status"
end
end
end
end
|