Sha256: 106c311524cf981c52ebcf22c3e51e4b95a8fd4f7a8caf7fc555516e66316398
Contents?: true
Size: 450 Bytes
Versions: 13
Compression:
Stored size: 450 Bytes
Contents
module Fog module Rackspace class LoadBalancers class Real def delete_nodes(load_balancer_id, *node_ids) query_string = node_ids.collect { |node_id| "id=#{node_id}" }.join('&') puts query_string request( :expects => [200, 202], :path => "loadbalancers/#{load_balancer_id}/nodes?#{node_ids}", :method => 'DELETE' ) end end end end end
Version data entries
13 entries across 13 versions & 3 rubygems