class RorVsWild::Plugin::Middleware

def call(env)

def call(env)
  RorVsWild.agent.start_request
  RorVsWild.agent.current_data[:path] = env["ORIGINAL_FULLPATH"]
  section = RorVsWild::Section.start
  section.file, section.line = rails_engine_location
  section.commands << "Rails::Engine#call"
  code, headers, body = @app.call(env)
  [code, headers, body]
ensure
  RorVsWild::Section.stop
  inject_server_timing(RorVsWild.agent.stop_request, headers)
end