Class: Grape::Validations::Validators::AsValidator

Inherits:
Base
  • Object
show all
Defined in:
lib/grape/validations/validators/as_validator.rb

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#fail_fast?, inherited, #initialize, #message, #options_key?, #validate, #validate!

Constructor Details

This class inherits a constructor from Grape::Validations::Validators::Base

Instance Method Details

#validate_param!Object

We use a validator for renaming parameters. This is just a marker for the parameter scope to handle the renaming. No actual validation happens here.



10
# File 'lib/grape/validations/validators/as_validator.rb', line 10

def validate_param!(*); end