Class: Queri::Stats::UnansweredCalls::InclusiveServiceLevelAgreement

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

def key_translations
  ActiveSupport::OrderedHash[
    :time_interval, "Hangup",
    :calls_taken_in_time_interval, "N. Calls",
    :calls_between_lower_interval, "Delta",
    :percentage_of_calls_within_interval, "Percent",
    :placeholder_for_bar_graph, "..."
  ]
end

.xml_codeObject



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

def xml_code
  UnansweredCalls.xml_code + ".InclusiveSLA"
end