Freeze Constant (#156)
This commit is contained in:
committed by
Pranav Raj S
parent
af20e61604
commit
7d4cac38a8
@@ -1,3 +1,3 @@
|
|||||||
module Constants::RedisKeys
|
module Constants::RedisKeys
|
||||||
ROUND_ROBIN_AGENTS = "ROUND_ROBIN_AGENTS:%{inbox_id}"
|
ROUND_ROBIN_AGENTS = 'ROUND_ROBIN_AGENTS:%{inbox_id}'.freeze
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,21 +1,18 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Constants::Report
|
module Constants::Report
|
||||||
ACCOUNT_METRICS = [ :conversations_count,
|
ACCOUNT_METRICS = [:conversations_count,
|
||||||
:incoming_messages_count,
|
:incoming_messages_count,
|
||||||
:outgoing_messages_count,
|
:outgoing_messages_count,
|
||||||
:avg_first_response_time,
|
:avg_first_response_time,
|
||||||
:avg_resolution_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,
|
||||||
|
:avg_resolution_time,
|
||||||
|
:resolutions_count].freeze
|
||||||
|
|
||||||
AGENT_METRICS = [ :avg_first_response_time,
|
AVG_AGENT_METRICS = [:avg_first_response_time, :avg_resolution_time].freeze
|
||||||
:avg_resolution_time,
|
|
||||||
:resolutions_count
|
|
||||||
]
|
|
||||||
|
|
||||||
AVG_AGENT_METRICS = [:avg_first_response_time, :avg_resolution_time]
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user