Class: Fog::HP::LB::Nodes
- Inherits:
-
Collection
- Object
- Collection
- Fog::HP::LB::Nodes
- Defined in:
- lib/fog/hp/models/lb/nodes.rb
Instance Attribute Summary collapse
-
#load_balancer ⇒ Object
Returns the value of attribute load_balancer.
Instance Method Summary collapse
Instance Attribute Details
#load_balancer ⇒ Object
Returns the value of attribute load_balancer.
10 11 12 |
# File 'lib/fog/hp/models/lb/nodes.rb', line 10 def load_balancer @load_balancer end |
Instance Method Details
#all ⇒ Object
12 13 14 15 16 |
# File 'lib/fog/hp/models/lb/nodes.rb', line 12 def all requires :load_balancer data = service.list_load_balancer_nodes(load_balancer.id).body['nodes'] load(data) end |