Class: LHS::Interceptors::ExtendedRollbar::Interceptor

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

Instance Method Summary collapse

Instance Method Details

#after_responseObject


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

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