debian-mirror-gitlab/lib/api/validations/validators/integer_none_any.rb
2021-02-22 17:27:13 +05:30

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