Class: Queri::Stats::CallOutcomes::DetailedAgentReport

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

def key_translations
  ActiveSupport::OrderedHash[
    :agent, "Agent name",
    :available_time, "Avail.",
    :percentage_of_login_time_as_available, " ",
    :billable_time, "Bill.",
    :percentage_of_login_time_as_billable, " ",
    :nonbillable_time, "NonB.",
    :percentage_of_login_time_as_nonbillable, " ",
    :number_of_sales, "Sales",
    :number_of_qualified_contacts, "QC.",
    :number_of_contacts, "Cont.",
    :sales_per_hour, "SPH",
    :qualified_contacts_per_hour, "QCPH",
    :contacts_per_hour, "CPH",
    :percentage_of_sales_to_sales_plus_contacts, "CONV",
    :percentage_of_sales_to_sales_plus_qualified_contacts, "QCONV"
  ]
end

.xml_codeObject



8
9
10
# File 'lib/queri/stats/call_outcomes/detailed_agent_report.rb', line 8

def xml_code
  CallOutcomes.xml_code + ".AgentReportDetailed"
end