Class: Grape::Validations::ValidatorFactory
- Inherits:
-
Object
- Object
- Grape::Validations::ValidatorFactory
- Defined in:
- lib/grape/validations/validator_factory.rb
Class Method Summary collapse
Class Method Details
.create_validator(**options) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/grape/validations/validator_factory.rb', line 4 def self.create_validator(**) [:validator_class].new([:attributes], [:options], [:required], [:params_scope], [:opts]) end |