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/glesys/requests/compute/server_details.rb
Simon Gate 4915fd884f [glesys] Ability to pass in options to server details
This gives us the option include the :includestate option in the
request. And when this option is set to true we will get the status of
the server.
2013-01-26 12:44:03 +01:00

14 lines
237 B
Ruby

module Fog
module Compute
class Glesys
class Real
def server_details(serverid, options = {})
request("/server/details", { :serverid => serverid }.merge!(options) )
end
end
end
end
end