Sha256: fc9506ba0e0af83a06b2df63298d92e6fdbd434782153a30104605e16ac365e8

Contents?: true

Size: 532 Bytes

Versions: 49

Compression:

Stored size: 532 Bytes

Contents

# frozen_string_literal: true

require 'active_support'

module LHS
  module Interceptors
    module ExtendedRollbar
      extend ActiveSupport::Concern

      class Interceptor < LHC::Interceptor
        def after_response
          return unless LHS::Interceptors::ExtendedRollbar::ThreadRegistry.log
          LHS::Interceptors::ExtendedRollbar::ThreadRegistry.log.push(request: request, response: response)
        end
      end
    end
  end

  const_set('ExtendedRollbar', LHS::Interceptors::ExtendedRollbar::Interceptor)
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
lhs-26.2.0 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-26.1.0 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-26.0.1 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-26.0.0 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-25.2.0 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-25.1.0 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-25.0.4 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-25.0.3 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-25.0.2 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-25.0.1 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-25.0.0 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-24.1.2 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-24.1.1 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-24.1.0 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-24.1.0.pre.2 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-24.1.0.pre.1 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-24.0.0 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-23.0.2 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-23.0.1 lib/lhs/interceptors/extended_rollbar/interceptor.rb
lhs-23.0.0 lib/lhs/interceptors/extended_rollbar/interceptor.rb