Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
17
research/chatwoot/lib/current.rb
Normal file
17
research/chatwoot/lib/current.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
module Current
|
||||
thread_mattr_accessor :user
|
||||
thread_mattr_accessor :account
|
||||
thread_mattr_accessor :account_user
|
||||
thread_mattr_accessor :executed_by
|
||||
thread_mattr_accessor :contact
|
||||
thread_mattr_accessor :captain_resolve_reason
|
||||
|
||||
def self.reset
|
||||
Current.user = nil
|
||||
Current.account = nil
|
||||
Current.account_user = nil
|
||||
Current.executed_by = nil
|
||||
Current.contact = nil
|
||||
Current.captain_resolve_reason = nil
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user