Class: Fog::HP::LB::Nodes
- Inherits:
-
Collection
- Object
- Collection
- Fog::HP::LB::Nodes
- Defined in:
- lib/monkey/hp/models/lb/nodes.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
31 32 33 34 35 |
# File 'lib/monkey/hp/models/lb/nodes.rb', line 31 def all data = service.list_load_balancer_nodes(@attributes[:load_balancer_id]).body['nodes'] load(data) self.each{ |x| x.load_balancer_id = @attributes[:load_balancer_id] } end |