mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
25 lines
No EOL
522 B
Ruby
25 lines
No EOL
522 B
Ruby
module Fog
|
|
module HP
|
|
class LB
|
|
class Real
|
|
def update_load_balancer(load_balancer_id, options=())
|
|
request(
|
|
:body => Fog::JSON.encode(options),
|
|
:expects => 202,
|
|
:method => 'PUT',
|
|
:path => "loadbalancers/#{load_balancer_id}"
|
|
)
|
|
end
|
|
|
|
end
|
|
class Mock
|
|
def update_load_balancer(load_balancer_id, options={})
|
|
response = Excon::Response.new
|
|
|
|
|
|
response
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end |