Class: TraceId::FromRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/trace_id/from_request.rb

Class Method Summary collapse

Class Method Details

.before(controller) ⇒ Object



3
4
5
# File 'lib/trace_id/from_request.rb', line 3

def self.before(controller)
  TraceId.set(controller.request.request_id)
end