1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/serverlove/requests/compute/start_server.rb
Sean Handley b5a96c90e9 Contrary to the documentation, this actually
returns a 200 status rather than a 204.
2012-07-15 17:27:12 +02:00

13 lines
No EOL
237 B
Ruby

module Fog
module Compute
class Serverlove
class Real
def start_server(server_id)
request(:method => "post", :path => "/servers/#{server_id}/start", :expects => 200)
end
end
end
end
end