Sha256: 66a91f005c77cd6ba5164c8bacb10f8667b43f156a06a8e136424010d76c543b
Contents?: true
Size: 315 Bytes
Versions: 3
Compression:
Stored size: 315 Bytes
Contents
module ModelLog module Passport class << self def current_passport Thread.current[:passport] end def current_passport=(value) Thread.current[:passport] = value end def clear_current_passport! Thread.current[:passport] = nil end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
model_log-1.0.2 | lib/model_log/passport.rb |
model_log-1.0.1 | lib/model_log/passport.rb |
model_log-1.0.0 | lib/model_log/passport.rb |