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

visibility_levels_enum.rb « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d5ace24455ec16653fad0a0ffbe51ecc0e2140f9 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

module Types
  class VisibilityLevelsEnum < BaseEnum
    Gitlab::VisibilityLevel.string_options.each do |name, int_value|
      value name.downcase, value: int_value
    end
  end
end