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

integer_none_any.rb « validators « validations « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 32ab6e19b9829bc4fbf7a2a3eb5d4e1c086191d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module API
  module Validations
    module Validators
      class IntegerNoneAny < IntegerOrCustomValue
        private

        def extract_custom_values(_options)
          [IssuableFinder::Params::FILTER_NONE, IssuableFinder::Params::FILTER_ANY]
        end
      end
    end
  end
end