Sha256: 40c393ae7631cce1626e8041db76ffc6d04dfc920dd0efa87e163290cbee95b9

Contents?: true

Size: 237 Bytes

Versions: 1

Compression:

Stored size: 237 Bytes

Contents

module Lamian
  class Middleware
    def initialize(app)
      self.app = app
    end

    def call(env)
      result = []
      Lamian.start { result = app.call(env) }
      result
    end

    private

    attr_accessor :app
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lamian-0.2.0 lib/lamian/middleware.rb