mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[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.
This commit is contained in:
parent
cc1e019c32
commit
4915fd884f
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@ module Fog
|
|||
class Glesys
|
||||
class Real
|
||||
|
||||
def server_details(serverid)
|
||||
request("/server/details", { :serverid => serverid })
|
||||
def server_details(serverid, options = {})
|
||||
request("/server/details", { :serverid => serverid }.merge!(options) )
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue