class ActiveMonitoring::Current
Public Class Methods
location()
click to toggle source
# File lib/active_monitoring/current.rb, line 17 def location store[:location] end
location=(value)
click to toggle source
# File lib/active_monitoring/current.rb, line 21 def location=(value) store[:location] = value end
request_id()
click to toggle source
# File lib/active_monitoring/current.rb, line 9 def request_id store[:request_id] end
request_id=(value)
click to toggle source
# File lib/active_monitoring/current.rb, line 13 def request_id=(value) store[:request_id] = value end
store()
click to toggle source
# File lib/active_monitoring/current.rb, line 25 def store Thread.current[:active_monitoring_store] ||= {} Thread.current[:active_monitoring_store] end