Sha256: ea81f732b0973fb4e81f06459dcd9d71cc9a8b1178e8bcab3fcdca73c1af6567
Contents?: true
Size: 485 Bytes
Versions: 4
Compression:
Stored size: 485 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details. require 'new_relic/agent/instrumentation/rack' class TestingApp attr_accessor :response, :headers def initialize reset_headers end def reset_headers @headers = {'Content-Type' => 'text/html'} end def call(env) [200, headers, [response]] end include NewRelic::Agent::Instrumentation::Rack end
Version data entries
4 entries across 4 versions & 1 rubygems