Module: Appsignal::Loaders::HanamiLoader::HanamiIntegration Private
- Defined in:
- lib/appsignal/loaders/hanami.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Legacy instrumentation to set the action name in Hanami apps older than Hanami 2.2
Instance Method Summary collapse
- #call(env) ⇒ Object private
Instance Method Details
#call(env) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
37 38 39 40 41 42 43 |
# File 'lib/appsignal/loaders/hanami.rb', line 37 def call(env) super ensure transaction = env[::Appsignal::Rack::APPSIGNAL_TRANSACTION] transaction&.set_action_if_nil(self.class.name) end |