Class: Queri::Stats::UnansweredCalls::CallsFullyWithinTheGivenTimeInterval

Inherits:
Queri::Stats
  • Object
show all
Includes:
AggregateReportHelpers
Defined in:
lib/queri/stats/unanswered_calls/calls_fully_within_the_given_time_interval.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
25
26
27
28
# File 'lib/queri/stats/unanswered_calls/calls_fully_within_the_given_time_interval.rb', line 12

def key_translations
  ActiveSupport::OrderedHash[
    :calls_fully_within_the_given_time_interval, "Calls fully within the given time interval:",
    :calls_unanswered, "N.of unanswered calls:",
    :average_call_waiting_time, "Average wait time before disconnection:",
    :minimum_call_waiting_time, "Min wait time before disconnection:",
    :maximum_call_waiting_time, "Max wait time before disconnection:",
    :total_call_waiting_time, "Total wait time before disconnection:",
    :average_initial_queue_position, "Average initial position",
    :minimum_initial_queue_position, "Min initial position",
    :maximum_initial_queue_position, "Max initial position",
    :queue_position_coverage, "Coverage",
    :average_final_queue_position, "Average queue position at disconnection:",
    :minimum_final_queue_position, "Min queue position at disconnection:",
    :maximum_final_queue_position, "Max queue position at disconnection:"
  ]
end

.xml_codeObject



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

def xml_code
  UnansweredCalls.xml_code + ".ReportKoFully"
end