Sha256: 350c37e6db05e097003c44268ff6e50f05bc0046dd7848cd2d477e4b91edb42d

Contents?: true

Size: 169 Bytes

Versions: 1

Compression:

Stored size: 169 Bytes

Contents

module Umbra
  class Middleware
    def initialize(app)
      @app = app
    end

    def call(env)
      Umbra.publish(env.dup)

      @app.call(env)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
umbra-rb-0.3.0 lib/umbra/middleware.rb