# File lib/fog/profitbricks/models/compute/load_balancers.rb, line 11 def all(datacenter_id) result = service.get_all_load_balancers(datacenter_id) load_balancers = result.body['items'].each { |volume| volume['datacenter_id'] = datacenter_id } result.body['items'] = load_balancers load(result.body['items'].each { |load_balancer| flatten(load_balancer) }) end