Class: CurrentThreadRequestId
- Inherits:
-
Object
- Object
- CurrentThreadRequestId
- Defined in:
- lib/current_thread_request_id.rb
Constant Summary collapse
- ATTRIBUTE =
"request_id"
Class Method Summary collapse
Class Method Details
.get ⇒ Object
6 7 8 |
# File 'lib/current_thread_request_id.rb', line 6 def self.get Thread.current[ATTRIBUTE] end |