# File lib/fog/rackspace/models/storage/directory.rb, line 164 def save requires :key create_or_update_container if cdn_enabled? @urls = service.cdn.publish_container(self, public?) else raise Fog::Storage::Rackspace::Error.new("Directory can not be set as :public without a CDN provided") if public? end true end