Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Bluebox::Flavors

Public Instance Methods

all() click to toggle source
# File lib/fog/bluebox/models/compute/flavors.rb, line 12
def all
  data = service.get_products.body
  load(data)
end
get(product_id) click to toggle source
# File lib/fog/bluebox/models/compute/flavors.rb, line 17
def get(product_id)
  response = service.get_product(product_id)
  new(response.body)
rescue Fog::Compute::Bluebox::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.