lib/fog/compute/models/slicehost/flavors.rb in fog-0.8.2 vs lib/fog/compute/models/slicehost/flavors.rb in fog-0.9.0
- old
+ new
@@ -1,14 +1,14 @@
require 'fog/core/collection'
require 'fog/compute/models/slicehost/flavor'
module Fog
- module Slicehost
- class Compute
+ module Compute
+ class Slicehost
class Flavors < Fog::Collection
- model Fog::Slicehost::Compute::Flavor
+ model Fog::Compute::Slicehost::Flavor
def all
data = connection.get_flavors.body['flavors']
load(data)
end