Class: Nexpose::EnginePoolSummary
- Inherits:
-
Object
- Object
- Nexpose::EnginePoolSummary
- Defined in:
- lib/nexpose/pool.rb
Overview
A summary of an engine pool.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Unique identifier of the engine pool.
-
#name ⇒ Object
readonly
Name of the engine pool.
-
#scope ⇒ Object
readonly
Whether the engine pool has global or silo scope.
Instance Method Summary collapse
-
#initialize(id, name, scope = 'silo') ⇒ EnginePoolSummary
constructor
A new instance of EnginePoolSummary.
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
#id ⇒ Object (readonly)
Unique identifier of the engine pool.
31 32 33 |
# File 'lib/nexpose/pool.rb', line 31 def id @id end |
#name ⇒ Object (readonly)
Name of the engine pool.
33 34 35 |
# File 'lib/nexpose/pool.rb', line 33 def name @name end |
#scope ⇒ Object (readonly)
Whether the engine pool has global or silo scope.
35 36 37 |
# File 'lib/nexpose/pool.rb', line 35 def scope @scope end |