Sha256: 5879666dbfd558b365216a8564b0cdefb298637fd6eab33eef53eea8e1e09c21
Contents?: true
Size: 638 Bytes
Versions: 28
Compression:
Stored size: 638 Bytes
Contents
module Fog module Rackspace class LoadBalancers class Real def update_load_balancer(load_balancer_id, options = {}) data = { 'loadBalancer' => { 'name' => options[:name], 'port' => options[:port], 'protocol' => options[:protocol], 'algorithm' => options[:algorithm] } } request( :body => MultiJson.encode(data), :expects => 202, :method => 'PUT', :path => "loadbalancers/#{load_balancer_id}.json" ) end end end end end
Version data entries
28 entries across 28 versions & 7 rubygems