# File lib/fog/openstack/models/compute/volume.rb, line 41 def attach(server_id, name) requires :id data = connection.attach_volume(id, server_id, name) merge_attributes(:attachments => attachments << data.body['volumeAttachment']) true end