2011-01-19 19:17:23 -05:00
|
|
|
module Fog
|
2011-06-16 19:28:54 -04:00
|
|
|
module Compute
|
|
|
|
class Voxel
|
|
|
|
class Real
|
2011-02-25 15:31:56 -05:00
|
|
|
|
2011-06-16 19:28:54 -04:00
|
|
|
require 'fog/compute/parsers/voxel/voxcloud_status'
|
2011-02-25 15:31:56 -05:00
|
|
|
|
2011-02-23 18:00:56 -05:00
|
|
|
def voxcloud_status(device_id = nil)
|
|
|
|
options = {
|
2011-06-16 19:28:54 -04:00
|
|
|
:parser => Fog::Parsers::Compute::Voxel::VoxcloudStatus.new,
|
2011-02-23 18:00:56 -05:00
|
|
|
:verbosity => 'compact'
|
|
|
|
}
|
2011-01-19 19:17:23 -05:00
|
|
|
|
|
|
|
unless device_id.nil?
|
|
|
|
options[:device_id] = device_id
|
|
|
|
end
|
|
|
|
|
2011-02-23 18:00:56 -05:00
|
|
|
request("voxel.voxcloud.status", options)
|
2011-02-20 22:01:28 -05:00
|
|
|
end
|
2011-01-19 19:17:23 -05:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|