Class: Auditlog::Data

Inherits:
Object
  • Object
show all
Defined in:
lib/auditlog/data.rb

Class Method Summary collapse

Class Method Details

.current_user_idObject



9
10
11
# File 'lib/auditlog/data.rb', line 9

def self.current_user_id
  RequestStore.store[:auditlog_done_by_id]
end

.current_user_id=(id) ⇒ Object



5
6
7
# File 'lib/auditlog/data.rb', line 5

def self.current_user_id=(id)
  RequestStore.store[:auditlog_done_by_id] = id
end