Module: Concern::Audit::Author
- Defined in:
- lib/concern/audit/author.rb
Class Method Summary collapse
Class Method Details
.current ⇒ Object
11 12 13 |
# File 'lib/concern/audit/author.rb', line 11 def self.current Thread.current[:current_author] end |
.current=(author) ⇒ Object
7 8 9 |
# File 'lib/concern/audit/author.rb', line 7 def self.current=() Thread.current[:current_author] = end |