Class: Nexpose::EngineListing
- Inherits:
-
Object
- Object
- Nexpose::EngineListing
- Defined in:
- lib/nexpose.rb
Overview
Description
Object that represents a listing of all of the scan engines available on to an NSC.
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
The NSC Connection associated with this object.
-
#engine_count ⇒ Object
readonly
The number of scan engines.
-
#engines ⇒ Object
readonly
Array containing (EngineSummary*).
-
#error ⇒ Object
readonly
true if an error condition exists; false otherwise.
-
#error_msg ⇒ Object
readonly
Error message string.
-
#request_xml ⇒ Object
readonly
The last XML request sent by this object.
-
#response_xml ⇒ Object
readonly
The last XML response received by this object.
Instance Method Summary collapse
-
#initialize(connection) ⇒ EngineListing
constructor
Constructor EngineListing (connection).
Constructor Details
#initialize(connection) ⇒ EngineListing
Constructor EngineListing (connection)
1631 1632 1633 |
# File 'lib/nexpose.rb', line 1631 def initialize(connection) @connection = connection end |
Instance Attribute Details
#connection ⇒ Object (readonly)
The NSC Connection associated with this object
1623 1624 1625 |
# File 'lib/nexpose.rb', line 1623 def connection @connection end |
#engine_count ⇒ Object (readonly)
The number of scan engines
1627 1628 1629 |
# File 'lib/nexpose.rb', line 1627 def engine_count @engine_count end |
#engines ⇒ Object (readonly)
Array containing (EngineSummary*)
1625 1626 1627 |
# File 'lib/nexpose.rb', line 1625 def engines @engines end |
#error ⇒ Object (readonly)
true if an error condition exists; false otherwise
1615 1616 1617 |
# File 'lib/nexpose.rb', line 1615 def error @error end |
#error_msg ⇒ Object (readonly)
Error message string
1617 1618 1619 |
# File 'lib/nexpose.rb', line 1617 def error_msg @error_msg end |
#request_xml ⇒ Object (readonly)
The last XML request sent by this object
1619 1620 1621 |
# File 'lib/nexpose.rb', line 1619 def request_xml @request_xml end |
#response_xml ⇒ Object (readonly)
The last XML response received by this object
1621 1622 1623 |
# File 'lib/nexpose.rb', line 1621 def response_xml @response_xml end |