module Kiev::RequestStore::Mixin
Public Instance Methods
wrap_request_store_10() { || ... }
click to toggle source
# File lib/kiev/request_store.rb, line 18 def wrap_request_store_10 ::RequestStore.clear! yield ensure ::RequestStore.clear! end
wrap_request_store_13() { || ... }
click to toggle source
# File lib/kiev/request_store.rb, line 10 def wrap_request_store_13 ::RequestStore.begin! yield ensure ::RequestStore.end! ::RequestStore.clear! end