Class: Nexpose::Reference
- Inherits:
-
Object
- Object
- Nexpose::Reference
- Defined in:
- lib/nexpose/vuln.rb
Overview
Reference information for a Vulnerability.
Instance Attribute Summary collapse
-
#reference ⇒ Object
readonly
Returns the value of attribute reference.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source, reference) ⇒ Reference
constructor
A new instance of Reference.
Constructor Details
#initialize(source, reference) ⇒ Reference
Returns a new instance of Reference.
161 162 163 164 |
# File 'lib/nexpose/vuln.rb', line 161 def initialize(source, reference) @source = source @reference = reference end |
Instance Attribute Details
#reference ⇒ Object (readonly)
Returns the value of attribute reference.
159 160 161 |
# File 'lib/nexpose/vuln.rb', line 159 def reference @reference end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
158 159 160 |
# File 'lib/nexpose/vuln.rb', line 158 def source @source end |