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)
2108 2109 2110 |
# File 'lib/nexpose.rb', line 2108 def initialize(connection) @connection = connection end |
Instance Attribute Details
#connection ⇒ Object (readonly)
The NSC Connection associated with this object
2100 2101 2102 |
# File 'lib/nexpose.rb', line 2100 def connection @connection end |
#engine_count ⇒ Object (readonly)
The number of scan engines
2104 2105 2106 |
# File 'lib/nexpose.rb', line 2104 def engine_count @engine_count end |
#engines ⇒ Object (readonly)
Array containing (EngineSummary*)
2102 2103 2104 |
# File 'lib/nexpose.rb', line 2102 def engines @engines end |
#error ⇒ Object (readonly)
true if an error condition exists; false otherwise
2092 2093 2094 |
# File 'lib/nexpose.rb', line 2092 def error @error end |
#error_msg ⇒ Object (readonly)
Error message string
2094 2095 2096 |
# File 'lib/nexpose.rb', line 2094 def error_msg @error_msg end |
#request_xml ⇒ Object (readonly)
The last XML request sent by this object
2096 2097 2098 |
# File 'lib/nexpose.rb', line 2096 def request_xml @request_xml end |
#response_xml ⇒ Object (readonly)
The last XML response received by this object
2098 2099 2100 |
# File 'lib/nexpose.rb', line 2098 def response_xml @response_xml end |