Sha256: d25bbe85d38b3234929d359259eb684c0755a38511f7c4d00ca4ea728b87e73a

Contents?: true

Size: 619 Bytes

Versions: 7

Compression:

Stored size: 619 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fog-0.8.2 lib/fog/compute/requests/voxel/voxcloud_status.rb
fog-0.8.1 lib/fog/compute/requests/voxel/voxcloud_status.rb
fog-0.8.0 lib/fog/compute/requests/voxel/voxcloud_status.rb
fog-0.7.2 lib/fog/compute/requests/voxel/voxcloud_status.rb
fog-0.7.1 lib/fog/compute/requests/voxel/voxcloud_status.rb
fog-0.7.0 lib/fog/compute/requests/voxel/voxcloud_status.rb
fog-0.6.0 lib/fog/compute/requests/voxel/voxcloud_status.rb