Sha256: 964b8922474a55f51695615b74a8adf72c281114c157078454b18f8917430426

Contents?: true

Size: 481 Bytes

Versions: 103

Compression:

Stored size: 481 Bytes

Contents

module Fog
  module Compute
    class Voxel
      class Real

        require 'fog/voxel/parsers/compute/basic'

        def devices_power(device_id, power_action)
          options = {
            :device_id    => device_id,
            :parser       => Fog::Parsers::Compute::Voxel::Basic.new,
            :power_action => power_action,
            :verbosity    => 'normal'
          }

          request("voxel.devices.power", options)
        end
      end

    end
  end
end

Version data entries

103 entries across 103 versions & 17 rubygems

Version Path
fog-maestrodev-1.15.0.20130927082724 lib/fog/voxel/requests/compute/devices_power.rb
fog-maestrodev-1.15.0.20130829165835 lib/fog/voxel/requests/compute/devices_power.rb
fog-1.15.0 lib/fog/voxel/requests/compute/devices_power.rb
gapinc-fog-1.14.0 lib/fog/voxel/requests/compute/devices_power.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/voxel/requests/compute/devices_power.rb
fog-1.14.0 lib/fog/voxel/requests/compute/devices_power.rb
fog-1.13.0 lib/fog/voxel/requests/compute/devices_power.rb
gapinc-fog-1.12.1.2 lib/fog/voxel/requests/compute/devices_power.rb
gapinc-fog-1.12.1.1 lib/fog/voxel/requests/compute/devices_power.rb
gapinc-fog-1.12.1a lib/fog/voxel/requests/compute/devices_power.rb
gapinc-fog-1.12.1 lib/fog/voxel/requests/compute/devices_power.rb
fog-1.12.1 lib/fog/voxel/requests/compute/devices_power.rb
fog-1.12.0 lib/fog/voxel/requests/compute/devices_power.rb
hpfog-0.0.20 lib/fog/voxel/requests/compute/devices_power.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/voxel/requests/compute/devices_power.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/voxel/requests/compute/devices_power.rb
fog-nirvanix-1.8.2 lib/fog/voxel/requests/compute/devices_power.rb
fog-1.11.1 lib/fog/voxel/requests/compute/devices_power.rb
fog-1.11.0 lib/fog/voxel/requests/compute/devices_power.rb
fog-nirvanix-1.8.1 lib/fog/voxel/requests/compute/devices_power.rb