Class: Ronin::App::Validations::VulnsParams
- Inherits:
-
Dry::Validation::Contract
- Object
- Dry::Validation::Contract
- Ronin::App::Validations::VulnsParams
- Defined in:
- lib/ronin/app/validations/vulns_params.rb
Overview
Validations for form params submitted to POST /vulns
.
Class Method Summary collapse
-
.call(params) ⇒ Dry::Validation::Result
Initializes and calls the validation contract.
Class Method Details
.call(params) ⇒ Dry::Validation::Result
Initializes and calls the validation contract.
76 77 78 |
# File 'lib/ronin/app/validations/vulns_params.rb', line 76 def self.call(params) new.call(params) end |