Class: PoolWeightingsDefinition
- Inherits:
-
Object
- Object
- PoolWeightingsDefinition
- Defined in:
- lib/api/pool/Pool.rb
Overview
/Pool.WeightingsDefinition
node - SOAP::SOAPString
weighting - SOAP::SOAPInt
Instance Attribute Summary collapse
-
#node ⇒ Object
Returns the value of attribute node.
-
#weighting ⇒ Object
Returns the value of attribute weighting.
Instance Method Summary collapse
-
#initialize(node = nil, weighting = nil) ⇒ PoolWeightingsDefinition
constructor
A new instance of PoolWeightingsDefinition.
Constructor Details
#initialize(node = nil, weighting = nil) ⇒ PoolWeightingsDefinition
Returns a new instance of PoolWeightingsDefinition.
23 24 25 26 |
# File 'lib/api/pool/Pool.rb', line 23 def initialize(node = nil, weighting = nil) @node = node @weighting = weighting end |
Instance Attribute Details
#node ⇒ Object
Returns the value of attribute node.
20 21 22 |
# File 'lib/api/pool/Pool.rb', line 20 def node @node end |
#weighting ⇒ Object
Returns the value of attribute weighting.
21 22 23 |
# File 'lib/api/pool/Pool.rb', line 21 def weighting @weighting end |