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.8.0.348.160665197 lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.0.328.4a753fc lib/rails_connector/cache_middleware.rb
infopark_fiona_connector-6.8.0.322.c003f11 lib/rails_connector/cache_middleware.rb