Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::HP::Images

Public Instance Methods

all() click to toggle source
# File lib/fog/hp/models/compute/images.rb, line 12
def all
  data = service.list_images_detail.body['images']
  load(data)
  self
end
get(image_id) click to toggle source
# File lib/fog/hp/models/compute/images.rb, line 18
def get(image_id)
  data = service.get_image_details(image_id).body['image']
  new(data)
rescue Fog::Compute::HP::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.