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-7.0.1.6.1.6.rc4 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1.6.1.6.rc3 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1.6.1.6.rc2 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1.6.1.6.rc1 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1.5.2.7.rc1 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1.5.2.4.rc2 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1.5.2.4.rc1 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1.5.2.3.rc8 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1.5.2.3.rc7 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1.5.2.3.rc6 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1.5.2.3.rc5 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1.5.2.3.rc4 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.1.beta2 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-7.0.0 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.10.0.beta1 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.9.4 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.9.3.1.36404185 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.9.2.1.125136549 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.9.1.3.22208381 lib/rails_connector/cache_middleware.rb