# File lib/fog/ecloud/models/compute/locations.rb, line 15 def all data = connection.get_organization(href).body[:Locations][:Location] load(data) end
# File lib/fog/ecloud/models/compute/locations.rb, line 20 def get(uri) if data = connection.get_location(uri) new(data.body) end rescue Fog::Errors::NotFound nil end