Sha256: 76b6ae3887deb06740339936556e992131aa20765f032d20d22b23b82b033630
Contents?: true
Size: 684 Bytes
Versions: 65
Compression:
Stored size: 684 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], 'timeout' => options[:timeout] } } request( :body => Fog::JSON.encode(data), :expects => 202, :method => 'PUT', :path => "loadbalancers/#{load_balancer_id}.json" ) end end end end end
Version data entries
65 entries across 65 versions & 5 rubygems