Sha256: 06f6c4d958670f70812b8a02a282ef41df9c39955a496c11dae06c92248b2f09

Contents?: true

Size: 388 Bytes

Versions: 3

Compression:

Stored size: 388 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.

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

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newrelic_rpm-3.6.0.83 test/multiverse/suites/agent_only/testing_app.rb
newrelic_rpm-3.6.0.78 test/multiverse/suites/agent_only/testing_app.rb
newrelic_rpm-3.6.0.74.beta test/multiverse/suites/agent_only/testing_app.rb