Chatwoot/lib/current.rb
Sojan Jose 0e721653e5
feat: Business hour Inbox APIs (#1821)
* feat: Business hour Inbox APIs
2021-02-23 12:11:15 +05:30

11 lines
224 B
Ruby

module Current
thread_mattr_accessor :user
thread_mattr_accessor :account
thread_mattr_accessor :account_user
def self.reset
Current.user = nil
Current.account = nil
Current.account_user = nil
end
end