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

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

16 lines
320 B
Ruby
Raw Normal View History

# 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