Class: Queri::Stats::UnansweredCalls::CallOverview

Inherits:
Queri::Stats
  • Object
show all
Includes:
CompositeReportHelpers
Defined in:
lib/queri/stats/unanswered_calls/call_overview.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
22
23
24
# File 'lib/queri/stats/unanswered_calls/call_overview.rb', line 12

def key_translations
  ActiveSupport::OrderedHash[
    :empty, " ",
    :queue, "Queue",
    :number_of_calls_to_hit_queue, "Calls offered",
    :calls_answered, "Calls answered",
    :calls_unanswered, "Calls lost",
    :average_call_duration, "Average call length:",
    :total_call_duration, "Total call length:",
    :average_call_waiting_time, "Average call waiting time:",
    :total_call_waiting_time, "Total waiting time:"
  ]
end

.xml_codeObject



8
9
10
# File 'lib/queri/stats/unanswered_calls/call_overview.rb', line 8

def xml_code
  UnansweredCalls.xml_code + ".OverviewOkKo"
end