Class: ConvenientService::Service::Plugins::HasJSendResultParamsValidations::UsingDryValidation::Middleware Private
- Inherits:
-
MethodChainMiddleware
- Object
- ConvenientService::Service::Plugins::HasJSendResultParamsValidations::UsingDryValidation::Middleware
- Defined in:
- lib/convenient_service/service/plugins/has_j_send_result_params_validations/using_dry_validation/middleware.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Instance Method Details
#next ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 24 25 26 27 |
# File 'lib/convenient_service/service/plugins/has_j_send_result_params_validations/using_dry_validation/middleware.rb', line 23 def next(...) return result_from_dry_validation if dry_validation_errors.any? chain.next(...) end |