Class: Queri::Stats::CallOutcomes::Outcomes

Inherits:
Queri::Stats show all
Includes:
AggregateReportHelpers
Defined in:
lib/queri/stats/call_outcomes/outcomes.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
# File 'lib/queri/stats/call_outcomes/outcomes.rb', line 12

def key_translations
  ActiveSupport::OrderedHash[
    :total_billable_time, "Total billable time:",
    :total_agent_available_time, "Total agent available time:",
    :total_agent_billable_activities, "Total agent billable activities:",
    :total_nonbillable_time, "Total nonbillable time:",
    :number_of_sales, "Number of Sales:",
    :number_of_qualified_contacts, "Number of Qualified Contacts:",
    :number_of_contacts, "Number of Contacts:",
    :sales_per_hour, "Sales per Hour (SPH):",
    :qualified_contacts_per_hour, "Qualified Contacts per Hour (QCPH):",
    :contacts_per_hour, "Contacts per Hour (CPH):",
    :percentage_of_sales_to_sales_plus_contacts, "Conversion index:",
    :percentage_of_sales_to_sales_plus_qualified_contacts, "Qualified conversion index:"
  ]
end

.xml_codeObject



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

def xml_code
  CallOutcomes.xml_code + ".GeneralRep"
end