# File lib/fog/rackspace/models/compute_v2/attachment.rb, line 20 def destroy requires :server, :identity connection.delete_attachment(server.identity, identity) true end
# File lib/fog/rackspace/models/compute_v2/attachment.rb, line 13 def save requires :server, :identity, :device data = connection.attach_volume(server.identity, identity, device) merge_attributes(data.body['volumeAttachment']) true end
# File lib/fog/rackspace/models/compute_v2/attachment.rb, line 28 def server collection.server end