Permalink
Browse files

fix requires

  • Loading branch information...
1 parent 7fc2a7f commit 99556435d15b6998db43617b3b915b68dec6e25d @geemus geemus committed Jun 2, 2010
Showing with 5 additions and 5 deletions.
  1. +3 −3 lib/fog/bluebox.rb
  2. +1 −1 lib/fog/bluebox/models/flavors.rb
  3. +1 −1 lib/fog/bluebox/requests/get_product.rb
View
@@ -1,11 +1,11 @@
module Fog
module Bluebox
require 'fog/bluebox/models/images'
- require 'fog/bluebox/requests/get_images'
+ require 'fog/bluebox/requests/get_templates'
require 'fog/bluebox/models/flavors'
- require 'fog/bluebox/requests/get_flavors'
+ require 'fog/bluebox/requests/get_products'
require 'fog/bluebox/models/flavor'
- require 'fog/bluebox/requests/get_flavor'
+ require 'fog/bluebox/requests/get_product'
require 'fog/bluebox/models/servers'
require 'fog/bluebox/requests/get_blocks'
require 'fog/bluebox/models/server'
@@ -21,7 +21,7 @@ class Flavors < Fog::Collection
model Fog::Bluebox::Flavor
def all
- data = connection.get_product.body['products']
+ data = connection.get_products.body['products']
load(data)
end
@@ -2,7 +2,7 @@ module Fog
module Bluebox
class Real
- require 'fog/bluebox/parsers/get_flavor'
+ require 'fog/bluebox/parsers/get_product'
# Get details of a product
#

0 comments on commit 9955643

Please sign in to comment.