module Thoth::Context
Constants
- KEY
Public Instance Methods
clear_context!()
click to toggle source
# File lib/thoth/context.rb, line 16 def clear_context! self.context = {} end
context()
click to toggle source
# File lib/thoth/context.rb, line 8 def context RequestStore.store[KEY] ||= {} end
context=(value)
click to toggle source
# File lib/thoth/context.rb, line 12 def context=(value) RequestStore.store[KEY] = value end