Class: Ronin::App::Validations::NmapParams
- Inherits:
-
Dry::Validation::Contract
- Object
- Dry::Validation::Contract
- Ronin::App::Validations::NmapParams
- Defined in:
- lib/ronin/app/validations/nmap_params.rb
Overview
Validations for the form params submitted to POST /nmap
.
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.
176 177 178 |
# File 'lib/ronin/app/validations/nmap_params.rb', line 176 def self.call(params) new.call(params) end |