Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::RackspaceV2::Attachments

Attributes

server[RW]

Public Instance Methods

all() click to toggle source
# File lib/fog/rackspace/models/compute_v2/attachments.rb, line 13
def all
  data = service.list_attachments(server.id).body['volumeAttachments']
  load(data)
end
get(volume_id) click to toggle source
# File lib/fog/rackspace/models/compute_v2/attachments.rb, line 18
def get(volume_id)
  data = service.get_attachment(server.id, volume_id).body['volumeAttachment']
  data && new(data)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.