15 lines
350 B
Ruby
15 lines
350 B
Ruby
module Current
|
|
thread_mattr_accessor :user
|
|
thread_mattr_accessor :account
|
|
thread_mattr_accessor :account_user
|
|
thread_mattr_accessor :executed_by
|
|
thread_mattr_accessor :contact
|
|
|
|
def self.reset
|
|
Current.user = nil
|
|
Current.account = nil
|
|
Current.account_user = nil
|
|
Current.executed_by = nil
|
|
Current.contact = nil
|
|
end
|
|
end
|