summaryrefslogtreecommitdiff
path: root/lib/api/validations/validators/integer_none_any.rb
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