12 lines
206 B
Ruby
12 lines
206 B
Ruby
module Carto
|
|
module CurrentRequest
|
|
def self.request_id
|
|
Thread.current[:request_id]
|
|
end
|
|
|
|
def self.request_id=(request_id)
|
|
Thread.current[:request_id] = request_id
|
|
end
|
|
end
|
|
end
|