2020-04-02 12:08:18 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Validations
|
|
|
|
module Validators
|
2020-12-06 03:09:38 +00:00
|
|
|
class IntegerNoneAny < IntegerOrCustomValue
|
|
|
|
private
|
2020-04-02 12:08:18 +00:00
|
|
|
|
2020-12-10 12:09:43 +00:00
|
|
|
def extract_custom_values(_options)
|
2020-12-06 03:09:38 +00:00
|
|
|
[IssuableFinder::Params::FILTER_NONE, IssuableFinder::Params::FILTER_ANY]
|
2020-04-02 12:08:18 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|