Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/customer_relations/organization_state_enum.rb')
-rw-r--r--app/graphql/types/customer_relations/organization_state_enum.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/graphql/types/customer_relations/organization_state_enum.rb b/app/graphql/types/customer_relations/organization_state_enum.rb
new file mode 100644
index 00000000000..ecdd7d092ad
--- /dev/null
+++ b/app/graphql/types/customer_relations/organization_state_enum.rb
@@ -0,0 +1,17 @@
+# frozen_string_literal: true
+
+module Types
+ module CustomerRelations
+ class OrganizationStateEnum < BaseEnum
+ graphql_name 'CustomerRelationsOrganizationState'
+
+ value 'active',
+ description: "Active organization.",
+ value: :active
+
+ value 'inactive',
+ description: "Inactive organization.",
+ value: :inactive
+ end
+ end
+end