lib/fog/serverlove/models/compute/servers.rb in fog-maestrodev-1.7.0.20121114190951 vs lib/fog/serverlove/models/compute/servers.rb in fog-maestrodev-1.8.0.20130109172219
- old
+ new
@@ -8,15 +8,15 @@
class Servers < Fog::Collection
model Fog::Compute::Serverlove::Server
def all
- data = connection.get_servers.body
+ data = service.get_servers.body
load(data)
end
def get(server_id)
- data = connection.get_server(server_id).body
+ data = service.get_server(server_id).body
new(data)
end
end