MutualExclusionValidator
# File lib/grape/validations/exactly_one_of.rb, line 7 def validate!(params) super if none_of_restricted_params_is_present raise Grape::Exceptions::Validation, params: all_keys, message_key: :exactly_one end params end
[Validate]
Generated with the Darkfish Rdoc Generator 2.