queri 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81573e2933bacb797683dfda3f935882e6754f07
4
- data.tar.gz: 9da9459034980ce147cb498b850aa783ec41bfd1
3
+ metadata.gz: 3137db1cebb8de92a7b303b2fb18f9a0d4542167
4
+ data.tar.gz: 2a04babeb6af42e90bc65df0c5ee2b4608baa33f
5
5
  SHA512:
6
- metadata.gz: 5b0184f3413c0d6cdb93564fa5239549adb704abb4e37e201aaf4cf5ee1bccbd299b09c2e3ea7c9b526d85da12b1587ba8a1924f82a2b88260508d4570ae71c9
7
- data.tar.gz: b76246a5b1b0c5e1c2e5d7ba532be82eef0cdff49d2122f33f1e0e0a2db4df93f0392438ba0801b5dd075c88bc33f0b3d598614a3431761864e55f3491ffd710
6
+ metadata.gz: 94a372d916a402d90e4341b9b1587f22107bf1f50b4f24a553540d24863d4ad490744c85ef1bc8fc2babb71b4db4f36c7eadd70a7a7f76923a05e1a27c04f1f2
7
+ data.tar.gz: 5aa0605efaadc134d74a41079a9840a852c24d6a1e91c2146c0fc8ffb2308d6dbd5f78a305adb63b42f397817760cb76e0244e2a256f1c46f1fea58c51612e85
data/README.md CHANGED
@@ -68,6 +68,8 @@ Currently returns analyses from two methods: QM.stats and QM.realtime.
68
68
  * DetailOfAgentPauses
69
69
  * DetailsOfAnsweredCalls
70
70
  * QueueDetails
71
+ * DetailsOfUnansweredCalls
72
+ * DetailOfUnansweredCalls
71
73
  * UnansweredCalls
72
74
  * AllCalls
73
75
  * AllCallsByStints
@@ -115,6 +117,8 @@ Composite aggregate reports return an Array of Hashes, each Hash corresponding t
115
117
  * MusicOnHoldByAgent
116
118
  * DetailsOfAnsweredCalls
117
119
  * QueueDetails
120
+ * DetailsOfUnansweredCalls
121
+ * DetailOfUnansweredCalls
118
122
  * UnansweredCalls
119
123
  * UnansweredOutboundCallsByAgent
120
124
  * UnansweredCallsByKeyPress
@@ -0,0 +1,11 @@
1
+ module Queri
2
+ class Stats
3
+ class DetailsOfUnansweredCalls
4
+ @@xml_code = "DetailsDO"
5
+
6
+ def self.xml_code
7
+ @@xml_code
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,36 @@
1
+ module Queri
2
+ class Stats
3
+ class DetailsOfUnansweredCalls
4
+ class DetailOfUnansweredCalls < Queri::Stats
5
+ include CompositeReportHelpers
6
+
7
+ class << self
8
+ def xml_code
9
+ DetailsOfAnsweredCalls.xml_code + ".CallsKO"
10
+ end
11
+
12
+ def key_translations
13
+ Hash[
14
+ :date, "Date",
15
+ :agent, "Agent",
16
+ :caller_id, "Caller",
17
+ :queue, "Queue",
18
+ :disconnection_cause, "Disconnection",
19
+ :queue_position_at_disconnection, "Position",
20
+ :wait_time, "Wait",
21
+ :initial_queue_position, "Pos.",
22
+ :number_of_agents_attempted_before_connect, "Attempts",
23
+ :completion_code, "Code",
24
+ :key_pressed_on_disconnection, "Key",
25
+ :stints, "Stints",
26
+ :server, "Srv",
27
+ :placeholder_for_hourglass, "&nbsp;",
28
+ :empty, "&nbsp;",
29
+ :placeholder_for_linked_url, "&nbsp;"
30
+ ]
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
data/lib/queri/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Queri
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe Queri::Stats::DetailsOfUnansweredCalls::DetailOfUnansweredCalls do
4
+ let(:report_class) { Queri::Stats::DetailsOfUnansweredCalls::DetailOfUnansweredCalls }
5
+ let(:xml_code) { report_class.xml_code }
6
+
7
+ before { Queri.configure_with(File.join(File.dirname(__FILE__), '..', '..', 'config.yml')) }
8
+
9
+ it_behaves_like "a report class"
10
+
11
+ it_behaves_like "a report method"
12
+
13
+ it_behaves_like "a queuemetrics report"
14
+
15
+ it_behaves_like "a stats report"
16
+
17
+ describe "An instance of", Queri::Stats::DetailsOfUnansweredCalls::DetailOfUnansweredCalls do
18
+ it_behaves_like "an agent-level report instance"
19
+ end
20
+ end
@@ -0,0 +1,7 @@
1
+ require 'spec_helper'
2
+
3
+ describe Queri::Stats::DetailsOfUnansweredCalls do
4
+ let(:report_class) { Queri::Stats::DetailsOfUnansweredCalls }
5
+
6
+ it_behaves_like "a report class"
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: queri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brad Rice
@@ -95,6 +95,8 @@ files:
95
95
  - lib/queri/stats/details_of_agent_sessions_and_pauses/detail_of_agent_sessions.rb
96
96
  - lib/queri/stats/details_of_answered_calls.rb
97
97
  - lib/queri/stats/details_of_answered_calls/queue_details.rb
98
+ - lib/queri/stats/details_of_unanswered_calls.rb
99
+ - lib/queri/stats/details_of_unanswered_calls/detail_of_unanswered_calls.rb
98
100
  - lib/queri/stats/unanswered_calls.rb
99
101
  - lib/queri/stats/unanswered_calls/all_calls.rb
100
102
  - lib/queri/stats/unanswered_calls/all_calls_by_stints.rb
@@ -142,6 +144,8 @@ files:
142
144
  - spec/stats/details_of_agent_sessions_and_pauses/details_of_agent_sessions_and_pauses_spec.rb
143
145
  - spec/stats/details_of_answered_calls/details_of_answered_calls_spec.rb
144
146
  - spec/stats/details_of_answered_calls/queue_details_spec.rb
147
+ - spec/stats/details_of_unanswered_calls/detail_of_unanswered_calls_spec.rb
148
+ - spec/stats/details_of_unanswered_calls/details_of_unanswered_calls_spec.rb
145
149
  - spec/stats/stats_spec.rb
146
150
  - spec/stats/unanswered_calls/all_calls_by_stints_spec.rb
147
151
  - spec/stats/unanswered_calls/all_calls_spec.rb
@@ -225,6 +229,8 @@ test_files:
225
229
  - spec/stats/details_of_agent_sessions_and_pauses/details_of_agent_sessions_and_pauses_spec.rb
226
230
  - spec/stats/details_of_answered_calls/details_of_answered_calls_spec.rb
227
231
  - spec/stats/details_of_answered_calls/queue_details_spec.rb
232
+ - spec/stats/details_of_unanswered_calls/detail_of_unanswered_calls_spec.rb
233
+ - spec/stats/details_of_unanswered_calls/details_of_unanswered_calls_spec.rb
228
234
  - spec/stats/stats_spec.rb
229
235
  - spec/stats/unanswered_calls/all_calls_by_stints_spec.rb
230
236
  - spec/stats/unanswered_calls/all_calls_spec.rb