class Fog::Compute::Bluebox::Images

Public Instance Methods

all() click to toggle source
# File lib/fog/bluebox/models/compute/images.rb, line 10
def all
  data = service.get_templates.body
  load(data)
end
get(template_id) click to toggle source
# File lib/fog/bluebox/models/compute/images.rb, line 15
def get(template_id)
  response = service.get_template(template_id)
  new(response.body)
rescue Fog::Compute::Bluebox::NotFound
  nil
end