Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Ninefold::Images

Public Instance Methods

all(offering = 'executable') click to toggle source
# File lib/fog/ninefold/models/compute/images.rb, line 12
def all(offering = 'executable')
  data = service.list_templates(:templatefilter => offering)
  load(data)
end
get(identifier, offering = 'executable') click to toggle source
# File lib/fog/ninefold/models/compute/images.rb, line 17
def get(identifier, offering = 'executable')
  data = service.list_templates(:templatefilter => offering, :id => identifier)
  if data.empty?
    nil
  else
    new(data[0])
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.