Module: Appsignal::Integrations::PadrinoPlugin Private

Defined in:
lib/appsignal/integrations/padrino.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.

Class Method Summary collapse

Class Method Details

.initObject

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.



9
10
11
12
13
14
15
16
17
# File 'lib/appsignal/integrations/padrino.rb', line 9

def self.init
  Appsignal.logger.info("Loading Padrino (#{Padrino::VERSION}) integration")

  root = Padrino.mounted_root
  Appsignal.config = Appsignal::Config.new(root, Padrino.env)

  Appsignal.start_logger
  Appsignal.start
end