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)



1631
1632
1633
# File 'lib/nexpose.rb', line 1631

def initialize(connection)
	@connection = connection
end

Instance Attribute Details

#connectionObject (readonly)

The NSC Connection associated with this object



1623
1624
1625
# File 'lib/nexpose.rb', line 1623

def connection
  @connection
end

#engine_countObject (readonly)

The number of scan engines



1627
1628
1629
# File 'lib/nexpose.rb', line 1627

def engine_count
  @engine_count
end

#enginesObject (readonly)

Array containing (EngineSummary*)



1625
1626
1627
# File 'lib/nexpose.rb', line 1625

def engines
  @engines
end

#errorObject (readonly)

true if an error condition exists; false otherwise



1615
1616
1617
# File 'lib/nexpose.rb', line 1615

def error
  @error
end

#error_msgObject (readonly)

Error message string



1617
1618
1619
# File 'lib/nexpose.rb', line 1617

def error_msg
  @error_msg
end

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

The last XML response received by this object



1621
1622
1623
# File 'lib/nexpose.rb', line 1621

def response_xml
  @response_xml
end