Sha256: 6c22a6768c7d08ea08eee4b89f652ce57293bf797b12c06e2f692cb4ab96e631

Contents?: true

Size: 329 Bytes

Versions: 3

Compression:

Stored size: 329 Bytes

Contents

module Fog
  module Libvirt
    class Compute
      module Shared
        def volume_action(key, action, options={})
          get_volume({:key => key}, true).send(action)
          true
        end
      end

      class Real
        include Shared
      end

      class Mock
        include Shared
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-libvirt-0.13.2 lib/fog/libvirt/requests/compute/volume_action.rb
fog-libvirt-0.13.1 lib/fog/libvirt/requests/compute/volume_action.rb
fog-libvirt-0.13.0 lib/fog/libvirt/requests/compute/volume_action.rb