class Vestige::Rack

Public Class Methods

new(app) click to toggle source
# File lib/vestige/rack.rb, line 3
def initialize(app)
  @app = app
end

Public Instance Methods

call(env) click to toggle source
# File lib/vestige/rack.rb, line 7
def call(env)
  Vestige.trace_id = env['action_dispatch.request_id']
  @app.call(env)
end