cartodb-4.42/lib/carto/current_request.rb
2024-04-06 05:25:13 +00:00

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