rackspace/ruby-cloudlb — pull request #5 by oggy (2012-07-31 18:57:30+00:00)
Title: Endpoint for adding multiple nodes to a load balancer at once

Hi,

Adding multiple nodes one-at-a-time to a load balancer has caused us grief. Apparently adding a second node while the request to add the first one is still queued within Rackspace can be expected to fail. It can also make one fall victim to API throttling much more easily - *very* easily if you run a site with many whitelabel integrations.

The underlying API appears to support bulk-addition of nodes to a load balancer, but the ruby client inexplicably omits support for it. This patch adds it via a second method #create_nodes.

(It also includes matthewvermaak's patch from 4 months ago (#3) to silence the Typhoeus deprecation warning. Would really appreciate it if you could bring this library up to date.)

Thanks!
George