Class: Praxis::ValidationHandler
- Inherits:
-
Object
- Object
- Praxis::ValidationHandler
- Defined in:
- lib/praxis/validation_handler.rb
Instance Method Summary collapse
-
#handle!(summary:, request:, stage:, errors: nil, exception: nil, **opts) ⇒ Object
Should return the Response to send back.
Instance Method Details
#handle!(summary:, request:, stage:, errors: nil, exception: nil, **opts) ⇒ Object
Should return the Response to send back
5 6 7 |
# File 'lib/praxis/validation_handler.rb', line 5 def handle!(summary:, request:, stage:, errors: nil, exception: nil, **opts) Responses::ValidationError.new(summary: summary, errors: errors, exception: exception, **opts) end |