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
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/voxel/requests/compute/devices_power.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/voxel/requests/compute/devices_power.rb
fog-1.3.1 lib/fog/voxel/requests/compute/devices_power.rb
fog-1.3.0 lib/fog/voxel/requests/compute/devices_power.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/voxel/requests/compute/devices_power.rb
fog-1.2.0 lib/fog/voxel/requests/compute/devices_power.rb
ktheory-fog-1.1.2 lib/fog/voxel/requests/compute/devices_power.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/voxel/requests/compute/devices_power.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/voxel/requests/compute/devices_power.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/voxel/requests/compute/devices_power.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/voxel/requests/compute/devices_power.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/voxel/requests/compute/devices_power.rb
fog-1.1.2 lib/fog/voxel/requests/compute/devices_power.rb
fog_tractical-1.1.4 lib/fog/voxel/requests/compute/devices_power.rb
fog_tractical-1.1.3 lib/fog/voxel/requests/compute/devices_power.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/voxel/requests/compute/devices_power.rb
fog-1.1.1 lib/fog/voxel/requests/compute/devices_power.rb
fog-1.1.0 lib/fog/voxel/requests/compute/devices_power.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/voxel/requests/compute/devices_power.rb
tag-fog-1.0.1 lib/fog/voxel/requests/compute/devices_power.rb