Class: Pentest::BaseChecker
- Inherits:
-
Object
- Object
- Pentest::BaseChecker
- Defined in:
- lib/pentest/checkers/base_checker.rb
Direct Known Subclasses
Class Attribute Summary collapse
-
.description ⇒ Object
readonly
Returns the value of attribute description.
Instance Method Summary collapse
-
#initialize(endpoint, params) ⇒ BaseChecker
constructor
A new instance of BaseChecker.
Constructor Details
#initialize(endpoint, params) ⇒ BaseChecker
Returns a new instance of BaseChecker.
6 7 8 9 10 11 12 |
# File 'lib/pentest/checkers/base_checker.rb', line 6 def initialize(endpoint, params) @params = params @warnings = [] @endpoint = endpoint @route = endpoint.route @app_path = endpoint.app_path end |
Class Attribute Details
.description ⇒ Object (readonly)
Returns the value of attribute description.
3 4 5 |
# File 'lib/pentest/checkers/base_checker.rb', line 3 def description @description end |