debian-mirror-gitlab/app/graphql/types/ci/variable_type_enum.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
329 B
Ruby
Raw Normal View History

2022-08-13 15:12:31 +05:30
# frozen_string_literal: true
module Types
module Ci
class VariableTypeEnum < BaseEnum
graphql_name 'CiVariableType'
::Ci::Variable.variable_types.keys.each do |variable_type|
value variable_type.upcase, value: variable_type, description: "#{variable_type.humanize} type."
end
end
end
end