Fog::Collection
# File lib/fog/joyent/models/compute/datacenters.rb, line 10 def all data = service.list_datacenters().body.map {|k,v| {:name => k, :url => v}} load(data) end
# File lib/fog/joyent/models/compute/datacenters.rb, line 15 def get(id) all[id] end