Sha256: e0e5207d92f90197700255feb8ec52414ab095a1aeaae8ac3495e3bac50abf59
Contents?: true
Size: 521 Bytes
Versions: 14
Compression:
Stored size: 521 Bytes
Contents
module Fog module Compute class RackspaceV2 class Real def attach_volume(server_id, volume_id, device) data = { 'volumeAttachment' => { 'volumeId' => volume_id, 'device' => device } } request( :body => Fog::JSON.encode(data), :expects => [200], :method => 'POST', :path => "servers/#{server_id}/os-volume_attachments" ) end end end end end
Version data entries
14 entries across 14 versions & 7 rubygems