# File lib/fog/profitbricks/models/compute/volumes.rb, line 20 def get(datacenter_id, volume_id) response = service.get_volume(datacenter_id, volume_id) volume = response.body volume['datacenter_id'] = datacenter_id new(flatten(volume)) end