Sha256: 2bddd8ffbe6c2cbac690c0a60db0f09f70fda4c1137a60352849e7a2804b4530

Contents?: true

Size: 430 Bytes

Versions: 110

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

module Appsignal
  class Hooks
    # @api private
    class WebmachineHook < Appsignal::Hooks::Hook
      register :webmachine

      def dependencies_present?
        defined?(::Webmachine)
      end

      def install
        require "appsignal/integrations/webmachine"
        ::Webmachine::Decision::FSM.send(:prepend, Appsignal::Integrations::WebmachineIntegration)
      end
    end
  end
end

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
appsignal-3.3.11-java lib/appsignal/hooks/webmachine.rb
appsignal-3.3.11 lib/appsignal/hooks/webmachine.rb
appsignal-3.4.0-java lib/appsignal/hooks/webmachine.rb
appsignal-3.4.0 lib/appsignal/hooks/webmachine.rb
appsignal-3.3.10-java lib/appsignal/hooks/webmachine.rb
appsignal-3.3.10 lib/appsignal/hooks/webmachine.rb
appsignal-3.3.9-java lib/appsignal/hooks/webmachine.rb
appsignal-3.3.9 lib/appsignal/hooks/webmachine.rb
appsignal-3.3.8-java lib/appsignal/hooks/webmachine.rb
appsignal-3.3.8 lib/appsignal/hooks/webmachine.rb
appsignal-3.3.7-java lib/appsignal/hooks/webmachine.rb
appsignal-3.3.7 lib/appsignal/hooks/webmachine.rb
appsignal-3.3.6-java lib/appsignal/hooks/webmachine.rb
appsignal-3.3.6 lib/appsignal/hooks/webmachine.rb
appsignal-3.3.5-java lib/appsignal/hooks/webmachine.rb
appsignal-3.3.5 lib/appsignal/hooks/webmachine.rb
appsignal-3.3.4-java lib/appsignal/hooks/webmachine.rb
appsignal-3.3.4 lib/appsignal/hooks/webmachine.rb
appsignal-3.3.3-java lib/appsignal/hooks/webmachine.rb
appsignal-3.3.3 lib/appsignal/hooks/webmachine.rb