    # File lib/fog/rackspace/models/storage/directory.rb, line 38
            def public_url
              requires :key
              @public_url ||= begin
                begin response = service.cdn.head_container(key)
                  if response.headers['X-Cdn-Enabled'] == 'True'
                    if service.rackspace_cdn_ssl == true
                      response.headers['X-Cdn-Ssl-Uri']
                    else
                      cdn_cname || response.headers['X-Cdn-Uri']
                    end
                  end
                rescue Fog::Service::NotFound
                  nil
                end
              end
            end