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

29 lines
619 B
Ruby

module Fog
module Voxel
class Compute
require 'fog/compute/parsers/voxel/voxcloud_status'
class Real
def voxcloud_status(device_id = nil)
options = {
:parser => Fog::Parsers::Voxel::Compute::VoxcloudStatus.new,
:verbosity => 'compact'
}
unless device_id.nil?
options[:device_id] = device_id
end
request("voxel.voxcloud.status", options)
end
end
class Mock
def voxcloud_status(device_id = nil)
Fog::Mock.not_implemented
end
end
end
end
end