Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Ninefold::Flavors

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.