Module: Jat::Plugins::SimpleApiValidateParams::ClassMethods

Defined in:
lib/jat/plugins/simple_api/plugins/simple_api_validate_params/simple_api_validate_params.rb

Instance Method Summary collapse

Instance Method Details

#validate(context) ⇒ Object



32
33
34
35
36
37
# File 'lib/jat/plugins/simple_api/plugins/simple_api_validate_params/simple_api_validate_params.rb', line 32

def validate(context)
  # Generate map for current context.
  # Params are valid if no errors were raised
  map(context)
  true
end