class Fog::Compute::ProfitBricks::Flavors

Public Instance Methods

all() click to toggle source
# File lib/fog/profitbricks/models/compute/flavors.rb, line 9
def all
  load(service.get_all_flavors.body["getAllFlavorsResponse"])
end
get(id) click to toggle source
# File lib/fog/profitbricks/models/compute/flavors.rb, line 13
def get(id)
  flavor = service.get_flavor(id).body["getFlavorResponse"]
  new(flavor)
end