Class: Ronin::App::Validations::MasscanParams
- Inherits:
-
Dry::Validation::Contract
- Object
- Dry::Validation::Contract
- Ronin::App::Validations::MasscanParams
- Defined in:
- lib/ronin/app/validations/masscan_params.rb
Overview
Validations for the form params submitted to POST /masscan
.
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.
115 116 117 |
# File 'lib/ronin/app/validations/masscan_params.rb', line 115 def self.call(params) new.call(params) end |