mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
2e0b7e545a
Done with `rubocop --auto-correct --only EmptyLineBetweenDefs,EmptyLines,EmptyLinesAroundBody`
22 lines
499 B
Ruby
22 lines
499 B
Ruby
module Fog
|
|
module Compute
|
|
class Voxel
|
|
class Real
|
|
require 'fog/voxel/parsers/compute/voxcloud_status'
|
|
|
|
def voxcloud_status(device_id = nil)
|
|
options = {
|
|
:parser => Fog::Parsers::Compute::Voxel::VoxcloudStatus.new,
|
|
:verbosity => 'compact'
|
|
}
|
|
|
|
unless device_id.nil?
|
|
options[:device_id] = device_id
|
|
end
|
|
|
|
request("voxel.voxcloud.status", options)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|