Class: Queri::Stats::CallDistributionByDayOfWeek::ScheduleAdherencePerDayOfWeek

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

def key_translations
  ActiveSupport::OrderedHash[
    :day_of_week, "DayOfWeek",
    :number_of_agents, "Agents",
    :percentage_of_all_agents_detected_within_period, " ",
    :placeholder_for_bar_graph, " "
  ]
end

.xml_codeObject



8
9
10
# File 'lib/queri/stats/call_distribution_by_day_of_week/schedule_adherence_per_day_of_week.rb', line 8

def xml_code
  CallDistributionByDayOfWeek.xml_code + ".StaffPerDOW"
end