Class: Queri::Stats::AgentsAndSessions::AnsweredCallsByCustomGroup

Inherits:
Queri::Stats
  • Object
show all
Includes:
CompositeReportHelpers
Defined in:
lib/queri/stats/agents_and_sessions/answered_calls_by_custom_group.rb

Instance Attribute Summary

Attributes inherited from Queri::Stats

#response

Class Method Summary collapse

Methods inherited from Queri::Stats

#initialize, keys, query_method

Constructor Details

This class inherits a constructor from Queri::Stats

Class Method Details

.key_translationsObject



12
13
14
15
16
17
18
19
20
21
# File 'lib/queri/stats/agents_and_sessions/answered_calls_by_custom_group.rb', line 12

def key_translations
  ActiveSupport::OrderedHash[
    :agent_group, "Agent groups",
    :empty, " ",
    :number_of_answered_calls_by_agent_group, "N. calls",
    :total_talk_time_for_agent_group, "Total call time",
    :average_talk_time_for_agent_group, "Avg call time",
    :percentage_of_taken_calls_to_queue_calls_by_agent_group, "% of queue"
  ]
end

.xml_codeObject



8
9
10
# File 'lib/queri/stats/agents_and_sessions/answered_calls_by_custom_group.rb', line 8

def xml_code
  AgentsAndSessions.xml_code + ".AnsCallsCG"
end