Class: Nexpose::XML::Reference

Inherits:
Object
  • Object
show all
Defined in:
lib/nexpose/vuln.rb

Overview

Reference information for a Vulnerability.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source, reference) ⇒ Reference

Returns a new instance of Reference.



222
223
224
225
# File 'lib/nexpose/vuln.rb', line 222

def initialize(source, reference)
  @source    = source
  @reference = reference
end

Instance Attribute Details

#referenceObject (readonly)

Returns the value of attribute reference.



220
221
222
# File 'lib/nexpose/vuln.rb', line 220

def reference
  @reference
end

#sourceObject (readonly)

Returns the value of attribute source.



219
220
221
# File 'lib/nexpose/vuln.rb', line 219

def source
  @source
end