Sha256: 8c99eb8ad7c33d11cd52e8ede5c3bc3faaca6cd6cd130d719e722d671e7342b8

Contents?: true

Size: 422 Bytes

Versions: 150

Compression:

Stored size: 422 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.prepend Appsignal::Integrations::WebmachineIntegration
      end
    end
  end
end

Version data entries

150 entries across 150 versions & 1 rubygems

Version Path
appsignal-4.3.3-java lib/appsignal/hooks/webmachine.rb
appsignal-4.3.3 lib/appsignal/hooks/webmachine.rb
appsignal-4.3.2-java lib/appsignal/hooks/webmachine.rb
appsignal-4.3.2 lib/appsignal/hooks/webmachine.rb
appsignal-4.3.1-java lib/appsignal/hooks/webmachine.rb
appsignal-4.3.1 lib/appsignal/hooks/webmachine.rb
appsignal-4.3.0-java lib/appsignal/hooks/webmachine.rb
appsignal-4.3.0 lib/appsignal/hooks/webmachine.rb
appsignal-4.2.3-java lib/appsignal/hooks/webmachine.rb
appsignal-4.2.3 lib/appsignal/hooks/webmachine.rb
appsignal-4.2.2-java lib/appsignal/hooks/webmachine.rb
appsignal-4.2.2 lib/appsignal/hooks/webmachine.rb
appsignal-4.2.1-java lib/appsignal/hooks/webmachine.rb
appsignal-4.2.1 lib/appsignal/hooks/webmachine.rb
appsignal-4.2.0-java lib/appsignal/hooks/webmachine.rb
appsignal-4.2.0 lib/appsignal/hooks/webmachine.rb
appsignal-4.1.3-java lib/appsignal/hooks/webmachine.rb
appsignal-4.1.3 lib/appsignal/hooks/webmachine.rb
appsignal-4.1.2-java lib/appsignal/hooks/webmachine.rb
appsignal-4.1.2 lib/appsignal/hooks/webmachine.rb