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)



1979
1980
1981
# File 'lib/nexpose.rb', line 1979

def initialize(connection)
	@connection = connection
end

Instance Attribute Details

#connectionObject (readonly)

The NSC Connection associated with this object



1971
1972
1973
# File 'lib/nexpose.rb', line 1971

def connection
  @connection
end

#engine_countObject (readonly)

The number of scan engines



1975
1976
1977
# File 'lib/nexpose.rb', line 1975

def engine_count
  @engine_count
end

#enginesObject (readonly)

Array containing (EngineSummary*)



1973
1974
1975
# File 'lib/nexpose.rb', line 1973

def engines
  @engines
end

#errorObject (readonly)

true if an error condition exists; false otherwise



1963
1964
1965
# File 'lib/nexpose.rb', line 1963

def error
  @error
end

#error_msgObject (readonly)

Error message string



1965
1966
1967
# File 'lib/nexpose.rb', line 1965

def error_msg
  @error_msg
end

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

The last XML response received by this object



1969
1970
1971
# File 'lib/nexpose.rb', line 1969

def response_xml
  @response_xml
end