Class: QaServer::TermScenarioValidator
- Inherits:
-
ScenarioValidator
- Object
- ScenarioValidator
- QaServer::TermScenarioValidator
- Defined in:
- app/validators/qa_server/term_scenario_validator.rb
Constant Summary collapse
- TERM_ACTION =
'term'
Constants inherited from ScenarioValidator
ScenarioValidator::ALL_VALIDATIONS, ScenarioValidator::DEFAULT_VALIDATION_TYPE, ScenarioValidator::FAIL, ScenarioValidator::PASS, ScenarioValidator::UNKNOWN, ScenarioValidator::VALIDATE_ACCURACY, ScenarioValidator::VALIDATE_ACCURACY_COMPARISON, 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) ⇒ TermScenarioValidator
constructor
A new instance of TermScenarioValidator.
Methods inherited from ScenarioValidator
Constructor Details
#initialize(scenario:, status_log:, validation_type: DEFAULT_VALIDATION_TYPE) ⇒ TermScenarioValidator
Returns a new instance of TermScenarioValidator.
14 15 16 17 |
# File 'app/validators/qa_server/term_scenario_validator.rb', line 14 def initialize(scenario:, status_log:, validation_type: DEFAULT_VALIDATION_TYPE) super @request_data = scenario.identifier end |