Grape::Validations::Validator
# File lib/grape/validations/mutual_exclusion.rb, line 6 def validate!(params) @params = params if two_or_more_exclusive_params_are_present raise Grape::Exceptions::Validation, params: keys_in_common, message_key: :mutual_exclusion end params end
[Validate]
Generated with the Darkfish Rdoc Generator 2.