Class: Queri::Stats::AnsweredCalls::Transfers

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

def key_translations
  ActiveSupport::OrderedHash[
    :extension_transffered_to, "Transfer to",
    :number_of_calls, "N. Calls",
    :percentage_of_calls, " ",
    :placeholder_for_bar_graph, "..."
  ]
end

.xml_codeObject



8
9
10
# File 'lib/queri/stats/answered_calls/transfers.rb', line 8

def xml_code
  AnsweredCalls.xml_code + ".Transfers"
end