Class: Hutch::Tracers::NewRelic
- Inherits:
-
Object
- Object
- Hutch::Tracers::NewRelic
- Includes:
- NewRelic::Agent::Instrumentation::ControllerInstrumentation
- Defined in:
- lib/hutch/tracers/newrelic.rb
Instance Method Summary collapse
- #handle(message) ⇒ Object
-
#initialize(klass) ⇒ NewRelic
constructor
A new instance of NewRelic.
Constructor Details
#initialize(klass) ⇒ NewRelic
Returns a new instance of NewRelic.
8 9 10 |
# File 'lib/hutch/tracers/newrelic.rb', line 8 def initialize(klass) @klass = klass end |
Instance Method Details
#handle(message) ⇒ Object
12 13 14 |
# File 'lib/hutch/tracers/newrelic.rb', line 12 def handle() @klass.process() end |