    # File lib/fog/rackspace/requests/compute_v2/attach_volume.rb, line 5
            def attach_volume(server_id, volume_id, device)
              data = {
                'volumeAttachment' => {
                  'volumeId' => volume_id
                }
              }

              data['volumeAttachment']['device'] = device if device

              request(
                :body => Fog::JSON.encode(data),
                :expects => [200],
                :method => 'POST',
                :path => "servers/#{server_id}/os-volume_attachments"
              )
            end