Chatwoot/lib/constants/report.rb
Akshay Birajdar a1452d7d89 Sprinkle frozen string literal & Indentation Fix (#150)
* Avoid extra string alocation as join will always return string

* Fix indentation

* Sprinkle frozen string literal true
2019-10-16 12:22:30 +05:30

21 lines
650 B
Ruby

# frozen_string_literal: true
module Constants::Report
ACCOUNT_METRICS = [ :conversations_count,
:incoming_messages_count,
:outgoing_messages_count,
:avg_first_response_time,
:avg_resolution_time,
:resolutions_count
]
AVG_ACCOUNT_METRICS = [:avg_first_response_time, :avg_resolution_time]
AGENT_METRICS = [ :avg_first_response_time,
:avg_resolution_time,
:resolutions_count
]
AVG_AGENT_METRICS = [:avg_first_response_time, :avg_resolution_time]
end