lib/fog/openstack/models/compute/flavors.rb in fog-maestrodev-1.8.0.20130114204828 vs lib/fog/openstack/models/compute/flavors.rb in fog-maestrodev-1.14.0.20130806165225
- old
+ new
@@ -7,11 +7,11 @@
class Flavors < Fog::Collection
model Fog::Compute::OpenStack::Flavor
- def all
- data = service.list_flavors_detail.body['flavors']
+ def all(options = {})
+ data = service.list_flavors_detail(options).body['flavors']
load(data)
end
def get(flavor_id)
data = service.get_flavor_details(flavor_id).body['flavor']