Class: Appsignal::Hooks::ShoryukenHook
- Defined in:
- lib/appsignal/hooks/shoryuken.rb
Instance Method Summary collapse
Methods inherited from Hook
#initialize, #installed?, register, #try_to_install
Constructor Details
This class inherits a constructor from Appsignal::Hooks::Hook
Instance Method Details
#dependencies_present? ⇒ Boolean
29 30 31 |
# File 'lib/appsignal/hooks/shoryuken.rb', line 29 def dependencies_present? defined?(::Shoryuken) end |
#install ⇒ Object
33 34 35 36 37 38 39 |
# File 'lib/appsignal/hooks/shoryuken.rb', line 33 def install ::Shoryuken.configure_server do |config| config.server_middleware do |chain| chain.add Appsignal::Hooks::ShoryukenMiddleware end end end |