Freeze Constant (#156)
This commit is contained in:
parent
af20e61604
commit
7d4cac38a8
2 changed files with 12 additions and 15 deletions
|
@ -1,3 +1,3 @@
|
|||
module Constants::RedisKeys
|
||||
ROUND_ROBIN_AGENTS = "ROUND_ROBIN_AGENTS:%{inbox_id}"
|
||||
ROUND_ROBIN_AGENTS = 'ROUND_ROBIN_AGENTS:%{inbox_id}'.freeze
|
||||
end
|
||||
|
|
|
@ -1,21 +1,18 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Constants::Report
|
||||
ACCOUNT_METRICS = [ :conversations_count,
|
||||
ACCOUNT_METRICS = [:conversations_count,
|
||||
:incoming_messages_count,
|
||||
:outgoing_messages_count,
|
||||
:avg_first_response_time,
|
||||
:avg_resolution_time,
|
||||
:resolutions_count
|
||||
]
|
||||
:resolutions_count].freeze
|
||||
|
||||
AVG_ACCOUNT_METRICS = [:avg_first_response_time, :avg_resolution_time]
|
||||
AVG_ACCOUNT_METRICS = [:avg_first_response_time, :avg_resolution_time].freeze
|
||||
|
||||
|
||||
AGENT_METRICS = [ :avg_first_response_time,
|
||||
AGENT_METRICS = [:avg_first_response_time,
|
||||
:avg_resolution_time,
|
||||
:resolutions_count
|
||||
]
|
||||
:resolutions_count].freeze
|
||||
|
||||
AVG_AGENT_METRICS = [:avg_first_response_time, :avg_resolution_time]
|
||||
AVG_AGENT_METRICS = [:avg_first_response_time, :avg_resolution_time].freeze
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue