Class: Nexpose::EngineListing

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#connectionObject (readonly)

The NSC Connection associated with this object



2100
2101
2102
# File 'lib/nexpose.rb', line 2100

def connection
  @connection
end

#engine_countObject (readonly)

The number of scan engines



2104
2105
2106
# File 'lib/nexpose.rb', line 2104

def engine_count
  @engine_count
end

#enginesObject (readonly)

Array containing (EngineSummary*)



2102
2103
2104
# File 'lib/nexpose.rb', line 2102

def engines
  @engines
end

#errorObject (readonly)

true if an error condition exists; false otherwise



2092
2093
2094
# File 'lib/nexpose.rb', line 2092

def error
  @error
end

#error_msgObject (readonly)

Error message string



2094
2095
2096
# File 'lib/nexpose.rb', line 2094

def error_msg
  @error_msg
end

#request_xmlObject (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_xmlObject (readonly)

The last XML response received by this object



2098
2099
2100
# File 'lib/nexpose.rb', line 2098

def response_xml
  @response_xml
end