Class: DHS::Interceptors::ExtendedRollbar::Interceptor

Inherits:
DHC::Interceptor
  • Object
show all
Defined in:
lib/dhs/interceptors/extended_rollbar/interceptor.rb

Instance Method Summary collapse

Instance Method Details

#after_responseObject



11
12
13
14
# File 'lib/dhs/interceptors/extended_rollbar/interceptor.rb', line 11

def after_response
  return unless DHS::Interceptors::ExtendedRollbar::ThreadRegistry.log
  DHS::Interceptors::ExtendedRollbar::ThreadRegistry.log.push(request: request, response: response)
end