Module: Appsignal::Loaders::HanamiLoader::HanamiIntegration Private

Defined in:
lib/appsignal/loaders/hanami.rb

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.

Instance Method Summary collapse

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.



30
31
32
33
34
35
36
# File 'lib/appsignal/loaders/hanami.rb', line 30

def call(env)
  super
ensure
  transaction = env[::Appsignal::Rack::APPSIGNAL_TRANSACTION]

  transaction&.set_action_if_nil(self.class.name)
end