five9 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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(:getStatisticsUpdate, message: {statisticType: statistic_type, previousTimestamp: prev_timestamp, longPollingTimeout: long_polling_timeout})
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
@@ -1,3 +1,3 @@
1
1
  module Five9
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
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.11
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-04 00:00:00.000000000 Z
12
+ date: 2013-06-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon