Class: QaServer::SearchScenarioValidator
- Inherits:
-
ScenarioValidator
- Object
- ScenarioValidator
- QaServer::SearchScenarioValidator
- Defined in:
- app/validators/qa_server/search_scenario_validator.rb
Constant Summary collapse
- SEARCH_ACTION =
'search'
Constants inherited from ScenarioValidator
QaServer::ScenarioValidator::ALL_VALIDATIONS, QaServer::ScenarioValidator::DEFAULT_VALIDATION_TYPE, QaServer::ScenarioValidator::FAIL, QaServer::ScenarioValidator::PASS, QaServer::ScenarioValidator::UNKNOWN, QaServer::ScenarioValidator::VALIDATE_ACCURACY, QaServer::ScenarioValidator::VALIDATE_ACCURACY_COMPARISON, QaServer::ScenarioValidator::VALIDATE_CONNECTION
Instance Attribute Summary
Attributes inherited from ScenarioValidator
#scenario, #status_log, #validation_type
Instance Method Summary collapse
-
#initialize(scenario:, status_log:, validation_type: DEFAULT_VALIDATION_TYPE) ⇒ SearchScenarioValidator
constructor
A new instance of SearchScenarioValidator.
Methods inherited from ScenarioValidator
Constructor Details
#initialize(scenario:, status_log:, validation_type: DEFAULT_VALIDATION_TYPE) ⇒ SearchScenarioValidator
Returns a new instance of SearchScenarioValidator.
16 17 18 19 |
# File 'app/validators/qa_server/search_scenario_validator.rb', line 16 def initialize(scenario:, status_log:, validation_type: DEFAULT_VALIDATION_TYPE) super @request_data = scenario.query end |