Class: Queri::Realtime::Queues

Inherits:
Queri::Realtime show all
Includes:
CompositeReportHelpers
Defined in:
lib/queri/realtime/queues.rb

Instance Attribute Summary

Attributes inherited from Queri::Realtime

#response

Class Method Summary collapse

Methods inherited from Queri::Realtime

#initialize, keys, query_method

Constructor Details

This class inherits a constructor from Queri::Realtime

Class Method Details

.key_translationsObject



11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/queri/realtime/queues.rb', line 11

def key_translations
  Hash[
    :empty_column, " ",
    :queue, "Queue  ",
    :agents_logged_on, "N. agents",
    :ready_agents, "Ready agents",
    :paused_agents, "On pause",
    :nonmembers_on_calls, "Unk",
    :members_on_call_in_another_queue, "Bsy",
    :calls_waiting, "N. Calls waiting",
    :agents_handling_inbound_calls, "On phone inbound",
    :agents_handling_outbound_calls, "On phone outbound"
  ]
end

.xml_codeObject



7
8
9
# File 'lib/queri/realtime/queues.rb', line 7

def xml_code
  Realtime.xml_code + ".RTRiassunto"
end