Method: Fog::Compute::RackspaceV2::Attachments#get

Defined in:
lib/fog/rackspace/models/compute_v2/attachments.rb

#get(volume_id) ⇒ Object


18
19
20
21
# File 'lib/fog/rackspace/models/compute_v2/attachments.rb', line 18

def get(volume_id)
  data = connection.get_attachment(server.id, volume_id).body['volumeAttachment']
  data && new(data)
end