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)
1979 1980 1981 |
# File 'lib/nexpose.rb', line 1979 def initialize(connection) @connection = connection end |
Instance Attribute Details
#connection ⇒ Object (readonly)
The NSC Connection associated with this object
1971 1972 1973 |
# File 'lib/nexpose.rb', line 1971 def connection @connection end |
#engine_count ⇒ Object (readonly)
The number of scan engines
1975 1976 1977 |
# File 'lib/nexpose.rb', line 1975 def engine_count @engine_count end |
#engines ⇒ Object (readonly)
Array containing (EngineSummary*)
1973 1974 1975 |
# File 'lib/nexpose.rb', line 1973 def engines @engines end |
#error ⇒ Object (readonly)
true if an error condition exists; false otherwise
1963 1964 1965 |
# File 'lib/nexpose.rb', line 1963 def error @error end |
#error_msg ⇒ Object (readonly)
Error message string
1965 1966 1967 |
# File 'lib/nexpose.rb', line 1965 def error_msg @error_msg end |
#request_xml ⇒ Object (readonly)
The last XML request sent by this object
1967 1968 1969 |
# File 'lib/nexpose.rb', line 1967 def request_xml @request_xml end |
#response_xml ⇒ Object (readonly)
The last XML response received by this object
1969 1970 1971 |
# File 'lib/nexpose.rb', line 1969 def response_xml @response_xml end |