Sha256: 66dd37d7bacad37a4b5f96ff01bf402ecb0a585b9790fec315342d4c0b3daecb

Contents?: true

Size: 193 Bytes

Versions: 43

Compression:

Stored size: 193 Bytes

Contents

module RailsConnector
  class CacheMiddleware
    def initialize(app)
      @app = app
    end

    def call(env)
      CmsBaseModel.cache do
        @app.call(env)
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
infopark_fiona_connector-6.9.0.3.197272233 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.3.174.51542603 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.3.115.227021242 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.3.73.75172665 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.3.2.153416031 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.3.67.110847540 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.3.1.23895778 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.2.36.82613853 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.2.7.128454143 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.1.26.236500544 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.1 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.0.539.93842523 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.0.529.114081979 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.0.518.30999728 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.0.515.34928522 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.0.498.46559598 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.0.480.261594408 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.0.444.171626367 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.0.406.131718077 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.0.356.19698103 lib/rails_connector/cache_middleware.rb