Class: CleanCache

Inherits:
Object
  • Object
show all
Defined in:
lib/wirispluginengine/integration/cleancache.rb

Instance Method Summary collapse

Instance Method Details

#dispatch(request, response, provider, pb) ⇒ Object



2
3
4
5
6
7
# File 'lib/wirispluginengine/integration/cleancache.rb', line 2

def dispatch(request, response, provider, pb)
	cleanCache = pb.newCleanCache()
	cleanCache.init(provider)
	response.content_type = cleanCache.getContentType();
	return cleanCache.getCacheOutput()
end