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