2019-10-12 18:08:41 +00:00
|
|
|
module Current
|
|
|
|
thread_mattr_accessor :user
|
2020-05-26 17:08:48 +00:00
|
|
|
thread_mattr_accessor :account
|
|
|
|
thread_mattr_accessor :account_user
|
2022-03-15 16:37:30 +00:00
|
|
|
thread_mattr_accessor :contact
|
2020-10-31 18:44:33 +00:00
|
|
|
|
2021-01-14 15:05:22 +00:00
|
|
|
def self.reset
|
|
|
|
Current.user = nil
|
|
|
|
Current.account = nil
|
|
|
|
Current.account_user = nil
|
2022-03-15 16:37:30 +00:00
|
|
|
Current.contact = nil
|
2021-01-14 15:05:22 +00:00
|
|
|
end
|
2019-10-12 18:08:41 +00:00
|
|
|
end
|