Class: Nexpose::EnginePoolSummary

Inherits:
Object
  • Object
show all
Defined in:
lib/nexpose/pool.rb

Overview

A summary of an engine pool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, name, scope = 'silo') ⇒ EnginePoolSummary

Returns a new instance of EnginePoolSummary.



37
38
39
40
41
# File 'lib/nexpose/pool.rb', line 37

def initialize(id, name, scope = 'silo')
  @id = id
  @name = name
  @scope = scope
end

Instance Attribute Details

#idObject (readonly)

Unique identifier of the engine pool.



31
32
33
# File 'lib/nexpose/pool.rb', line 31

def id
  @id
end

#nameObject (readonly)

Name of the engine pool.



33
34
35
# File 'lib/nexpose/pool.rb', line 33

def name
  @name
end

#scopeObject (readonly)

Whether the engine pool has global or silo scope.



35
36
37
# File 'lib/nexpose/pool.rb', line 35

def scope
  @scope
end