Sha256: a510c59f88256a030f275afd4597b4c003ae19a84a7d8052de50ec07bfa33dee

Contents?: true

Size: 198 Bytes

Versions: 2

Compression:

Stored size: 198 Bytes

Contents

module Prosopite
  module Middleware
    class Rack
      def initialize(app)
        @app = app
      end

      def call(env)
        Prosopite.scan { @app.call(env) }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prosopite-1.4.1 lib/prosopite/middleware/rack.rb
prosopite-1.4.0 lib/prosopite/middleware/rack.rb