Sha256: 513ac95408c949775e9ccaec332cb3907895d8a29f2071d5690906a2fc4706ab
Contents?: true
Size: 405 Bytes
Versions: 24
Compression:
Stored size: 405 Bytes
Contents
# frozen_string_literal: true module Mihari module Web module Middleware # # DB connection adapter for Rack app # class Connection include Concerns::DatabaseConnectable attr_reader :app def initialize(app) @app = app end def call(env) with_db_connection { app.call env } end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems