Class: Rack::Cache::Purge

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/rack/cache/purge.rb,
lib/rack/cache/purge/base.rb,
lib/rack/cache/purge/http.rb,
lib/rack/cache/purge/purger.rb

Defined Under Namespace

Modules: Base, Http Classes: Purger

Constant Summary collapse

PURGE_HEADER =
'rack-cache.purge'
PURGER_HEADER =
'rack-cache.purger'

Instance Attribute Summary

Attributes included from Base

#app, #purger

Class Method Summary collapse

Methods included from Base

#call, #initialize

Class Method Details

.allow_http_purge!Object



5
6
7
# File 'lib/rack/cache/purge.rb', line 5

def allow_http_purge!
  include Rack::Cache::Purge::Http
end