cartodb-4.42/lib/carto/current_request.rb

12 lines
206 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
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