Class: PoolWeightingsDefinition

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

Overview

/Pool.WeightingsDefinition

node - SOAP::SOAPString
weighting - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nodeObject

Returns the value of attribute node.



20
21
22
# File 'lib/api/pool/Pool.rb', line 20

def node
  @node
end

#weightingObject

Returns the value of attribute weighting.



21
22
23
# File 'lib/api/pool/Pool.rb', line 21

def weighting
  @weighting
end