Class: Queri::Stats::CallDistributionByHour::QueueLengthPerHour

Inherits:
Queri::Stats
  • Object
show all
Includes:
CompositeReportHelpers
Defined in:
lib/queri/stats/call_distribution_by_hour/queue_length_per_hour.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/call_distribution_by_hour/queue_length_per_hour.rb', line 12

def key_translations
  ActiveSupport::OrderedHash[
    :hour, "Hour",
    :average_queue_length_during_period, "Avg",
    :placeholder_for_length_avg_bar_graph, " ",
    :minimum_queue_length, "Min",
    :maximum_queue_length, "Max",
    :another_bar_graph, " ",
    :coverage_percentage, "Cover.",
    :rate_of_throughput_per_hour, "Steps",
    :empty, " "
  ]
end

.xml_codeObject



8
9
10
# File 'lib/queri/stats/call_distribution_by_hour/queue_length_per_hour.rb', line 8

def xml_code
  CallDistributionByHour.xml_code + ".QPosPerHr"
end