mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
20 lines
292 B
Ruby
20 lines
292 B
Ruby
|
module Fog
|
||
|
module Compute
|
||
|
class Glesys
|
||
|
class Real
|
||
|
|
||
|
def list_servers(serverid = nil, options = {})
|
||
|
|
||
|
unless serverid.nil?
|
||
|
options[:serverid] = serverid
|
||
|
end
|
||
|
|
||
|
request("/server/list", options)
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
|