Sha256: 45f4cffa661e193a6c5f2d9bcc5cb4e0148a00c5c8c411f8121b52abb0df30ed

Contents?: true

Size: 222 Bytes

Versions: 7

Compression:

Stored size: 222 Bytes

Contents

require 'yao/resources/action'

module Yao::Resources
  module VolumeAction
    include Action

    def set_status(id, status)
      action(id, 'os-reset_status' => {
        'status' => status,
      })
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
yao-0.21.0 lib/yao/resources/volume_action.rb
yao-0.20.0 lib/yao/resources/volume_action.rb
yao-0.19.0 lib/yao/resources/volume_action.rb
yao-0.18.0 lib/yao/resources/volume_action.rb
yao-0.17.0 lib/yao/resources/volume_action.rb
yao-0.16.0 lib/yao/resources/volume_action.rb
yao-0.15.0 lib/yao/resources/volume_action.rb