Class: Dockscan::Scan::Issue
- Inherits:
-
Object
- Object
- Dockscan::Scan::Issue
- Defined in:
- lib/dockscan/scan/issue.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#references ⇒ Object
Returns the value of attribute references.
-
#reflinks ⇒ Object
Returns the value of attribute reflinks.
-
#risk ⇒ Object
Returns the value of attribute risk.
-
#severity ⇒ Object
Returns the value of attribute severity.
-
#solution ⇒ Object
Returns the value of attribute solution.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ Issue
constructor
A new instance of Issue.
Constructor Details
#initialize ⇒ Issue
Returns a new instance of Issue.
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/dockscan/scan/issue.rb', line 6 def initialize severity=0 description="Forgot to add description" solution="Information only." title="Forgot to add title" =Hash.new references=Hash.new risk=Hash.new reflinks=Hash.new end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
4 5 6 |
# File 'lib/dockscan/scan/issue.rb', line 4 def description @description end |
#references ⇒ Object
Returns the value of attribute references.
4 5 6 |
# File 'lib/dockscan/scan/issue.rb', line 4 def references @references end |
#reflinks ⇒ Object
Returns the value of attribute reflinks.
4 5 6 |
# File 'lib/dockscan/scan/issue.rb', line 4 def reflinks @reflinks end |
#risk ⇒ Object
Returns the value of attribute risk.
4 5 6 |
# File 'lib/dockscan/scan/issue.rb', line 4 def risk @risk end |
#severity ⇒ Object
Returns the value of attribute severity.
4 5 6 |
# File 'lib/dockscan/scan/issue.rb', line 4 def severity @severity end |
#solution ⇒ Object
Returns the value of attribute solution.
4 5 6 |
# File 'lib/dockscan/scan/issue.rb', line 4 def solution @solution end |
#tags ⇒ Object
Returns the value of attribute tags.
4 5 6 |
# File 'lib/dockscan/scan/issue.rb', line 4 def end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/dockscan/scan/issue.rb', line 4 def title @title end |