five9 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/five9/statistics.rb +2 -2
- data/lib/five9/version.rb +1 -1
- metadata +2 -2
data/lib/five9/statistics.rb
CHANGED
@@ -24,7 +24,7 @@ module Five9
|
|
24
24
|
def getStatisticsUpdate(statistic_type, object_name,long_polling_timeout=10000)
|
25
25
|
begin
|
26
26
|
prev_timestamp = @last_working_timestamp
|
27
|
-
response = @client.call(:
|
27
|
+
response = @client.call(:get_statistics_update, message: {statisticType: statistic_type, previousTimestamp: prev_timestamp, longPollingTimeout: long_polling_timeout})
|
28
28
|
data = response.to_array
|
29
29
|
raise TypeError, "No Updated Statistics" if data[0][:get_statistics_update_response][:return].nil?
|
30
30
|
prev_timestamp = data[0][:get_statistics_update_response][:return][:last_timestamp]
|
@@ -51,4 +51,4 @@ module Five9
|
|
51
51
|
updated_stats
|
52
52
|
end
|
53
53
|
end
|
54
|
-
end
|
54
|
+
end
|
data/lib/five9/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: five9
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: savon
|