1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[digitalocean|compute] list_servers uses mock data

This commit is contained in:
Sergio Rubio 2013-03-18 12:50:09 +01:00
parent 9dbdc392d5
commit 4dc45ea932

View file

@ -20,18 +20,7 @@ module Fog
response.status = 200
response.body = {
"status" => "OK",
"droplets" => [
# Sample droplet
#{
# "backups_active" => nil,
# "id" => 100823,
# "image_id" => 420,
# "name" => "test222",
# "region_id" => 1,
# "size_id" => 33,
# "status" => "active"
#}
]
"droplets" => self.data[:servers]
}
response
end