Sha256: 5d1674ea5a9d2740fec9cc9346bb3435a48a0d8e9ba33fed0963813927eac333

Contents?: true

Size: 282 Bytes

Versions: 33

Compression:

Stored size: 282 Bytes

Contents

# frozen_string_literal: true

module Alchemy
  module ErrorTracking
    class BaseHandler
      def self.call(exception)
        # implement your own notification method
      end
    end

    mattr_accessor :notification_handler
    @@notification_handler = BaseHandler
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
alchemy_cms-6.0.14 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.13 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.12 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.11 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.10 lib/alchemy/error_tracking.rb
alchemy_cms-5.3.8 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.9 lib/alchemy/error_tracking.rb
alchemy_cms-5.3.7 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.8 lib/alchemy/error_tracking.rb
alchemy_cms-5.3.6 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.7 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.6 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.5 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.4 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.3 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.2 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.1 lib/alchemy/error_tracking.rb
alchemy_cms-5.3.5 lib/alchemy/error_tracking.rb
alchemy_cms-6.0.0 lib/alchemy/error_tracking.rb
alchemy_cms-5.3.4 lib/alchemy/error_tracking.rb