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/compute/requests/voxel/devices_list.rb
2011-02-25 12:31:56 -08:00

24 lines
488 B
Ruby

module Fog
module Voxel
class Compute
class Real
require 'fog/compute/parsers/voxel/devices_list'
def devices_list(device_id = nil)
options = {
:parser => Fog::Parsers::Voxel::Compute::DevicesList.new,
:verbosity => 'normal'
}
unless device_id.nil?
options[:device_id] = device_id
end
request("voxel.devices.list", options)
end
end
end
end
end