Sha256: 108d54a425cd8a6b0bfc030e628ff29362a01941e21a362fbea95d6e7836088a
Contents?: true
Size: 532 Bytes
Versions: 12
Compression:
Stored size: 532 Bytes
Contents
# frozen_string_literal: true require 'active_support' module DHS module Interceptors module ExtendedRollbar extend ActiveSupport::Concern class Interceptor < DHC::Interceptor def after_response return unless DHS::Interceptors::ExtendedRollbar::ThreadRegistry.log DHS::Interceptors::ExtendedRollbar::ThreadRegistry.log.push(request: request, response: response) end end end end const_set('ExtendedRollbar', DHS::Interceptors::ExtendedRollbar::Interceptor) end
Version data entries
12 entries across 12 versions & 1 rubygems