gitlab-org--gitlab-foss/lib/api/validations/validators/integer_none_any.rb

15 lines
320 B
Ruby

# 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