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

25 lines
501 B
Ruby
Raw Normal View History

module Fog
module Compute
class Voxel
class Real
require 'fog/compute/parsers/voxel/voxcloud_status'
2011-02-23 18:00:56 -05:00
def voxcloud_status(device_id = nil)
options = {
:parser => Fog::Parsers::Compute::Voxel::VoxcloudStatus.new,
2011-02-23 18:00:56 -05:00
:verbosity => 'compact'
}
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
end
end
end
end