Sha256: 877c53c454dc92221cac08578449240a9e4a6b98477ca81d51bb1111d47efd72

Contents?: true

Size: 334 Bytes

Versions: 3

Compression:

Stored size: 334 Bytes

Contents

module ServiceTemplate
  class Middleware
    class DatabaseStats
      def initialize(app)
        @app = app
      end

      def call(env)
        require 'service_template/active_record_extensions/notifications_subscriber'
        status, headers, body = @app.call(env)
        [status, headers, body]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
service_template-0.5.2 lib/service_template/middleware/database_stats.rb
service_template-0.5.1 lib/service_template/middleware/database_stats.rb
service_template-0.5.0 lib/service_template/middleware/database_stats.rb