lib/fog/rackspace/models/compute/servers.rb in fog-maestrodev-1.7.0.20121114190951 vs lib/fog/rackspace/models/compute/servers.rb in fog-maestrodev-1.8.0.20130109172219

- old
+ new

@@ -8,11 +8,11 @@ class Servers < Fog::Collection model Fog::Compute::Rackspace::Server def all - data = connection.list_servers_detail.body['servers'] + data = service.list_servers_detail.body['servers'] load(data) end def bootstrap(new_attributes = {}) server = create(new_attributes) @@ -20,10 +20,10 @@ server.setup(:password => server.password) server end def get(server_id) - if server = connection.get_server_details(server_id).body['server'] + if server = service.get_server_details(server_id).body['server'] new(server) end rescue Fog::Compute::Rackspace::NotFound nil end