Sha256: 18bd9f4b997ab30cd73a84e8608ad917fd92e52b3166f789034fcfc62163670e

Contents?: true

Size: 376 Bytes

Versions: 7

Compression:

Stored size: 376 Bytes

Contents

module Fog
  module Compute
    class OpenStack
      class Real

        def detach_volume(server_id, attachment_id)
          request(
            :expects  => 202,
            :method   => 'DELETE',
            :path     => "servers/%s/os-volume_attachments/%s" % [server_id, attachment_id]
          )
        end

      end

      class Mock
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 4 rubygems

Version Path
fog-parser-fix-1.6.1 lib/fog/openstack/requests/compute/detach_volume.rb
fog-test-again-1.6.0 lib/fog/openstack/requests/compute/detach_volume.rb
fog-parser-fix-1.6.0 lib/fog/openstack/requests/compute/detach_volume.rb
fog-1.6.0 lib/fog/openstack/requests/compute/detach_volume.rb
fog-1.5.0 lib/fog/openstack/requests/compute/detach_volume.rb
rackspace-fog-1.4.2 lib/rackspace-fog/openstack/requests/compute/detach_volume.rb
fog-1.4.0 lib/fog/openstack/requests/compute/detach_volume.rb