Module: Jat::Plugins::JsonApiValidateParams::ClassMethods
- Defined in:
- lib/jat/plugins/json_api/plugins/json_api_validate_params/json_api_validate_params.rb
Instance Method Summary collapse
Instance Method Details
#validate(context) ⇒ Object
34 35 36 37 38 39 |
# File 'lib/jat/plugins/json_api/plugins/json_api_validate_params/json_api_validate_params.rb', line 34 def validate(context) # Generate map for current context. # Params are valid if no errors were raised map(context) true end |