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
6 7 8 9 10 11 12 |
# File 'lib/grape/validations/validator_factory.rb', line 6 def self.create_validator(**) [:validator_class].new([:attributes], [:options], [:required], [:params_scope], **[:opts]) end |