five9 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/five9/acd_status.rb +2 -2
- data/lib/five9/agent_stats.rb +2 -2
- data/lib/five9/base.rb +2 -1
- data/lib/five9/inbound_campaign_stats.rb +2 -2
- data/lib/five9/statistics.rb +2 -2
- data/lib/five9/version.rb +1 -1
- metadata +2 -2
data/lib/five9/acd_status.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
module Five9
|
2
2
|
class AcdStatus < Statistics
|
3
3
|
attr_accessor :stats
|
4
|
-
def initialize(username,password)
|
4
|
+
def initialize(username,password,timeout=300)
|
5
5
|
@stats = nil
|
6
|
-
super(username,password)
|
6
|
+
super(username,password,timeout)
|
7
7
|
end
|
8
8
|
|
9
9
|
def getStatistics(columns=[])
|
data/lib/five9/agent_stats.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
module Five9
|
2
2
|
class AgentStats < Statistics
|
3
3
|
attr_accessor :stats
|
4
|
-
def initialize(username,password)
|
4
|
+
def initialize(username,password,timeout=300)
|
5
5
|
@stats = nil
|
6
|
-
super(username,password)
|
6
|
+
super(username,password,timeout)
|
7
7
|
end
|
8
8
|
|
9
9
|
def getStatistics(columns=[])
|
data/lib/five9/base.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
require 'savon'
|
2
2
|
module Five9
|
3
3
|
class Base
|
4
|
-
def initialize(username,password,given_wsdl)
|
4
|
+
def initialize(username,password,given_wsdl,timeout=300)
|
5
5
|
@client = Savon::Client.new do
|
6
6
|
wsdl.document = given_wsdl + username
|
7
7
|
http.auth.basic(username,password)
|
8
|
+
http.read_timeout = timeout
|
8
9
|
end
|
9
10
|
end
|
10
11
|
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
module Five9
|
2
2
|
class InboundCampaignStats < Statistics
|
3
3
|
attr_accessor :stats
|
4
|
-
def initialize(username,password)
|
4
|
+
def initialize(username,password,timeout=300)
|
5
5
|
@stats = nil
|
6
|
-
super(username,password)
|
6
|
+
super(username,password,timeout)
|
7
7
|
end
|
8
8
|
|
9
9
|
def getStatistics(columns=[])
|
data/lib/five9/statistics.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Five9
|
2
2
|
class Statistics < Base
|
3
|
-
def initialize(username,password)
|
4
|
-
super(username,password,"https://api.five9.com/wssupervisor/SupervisorWebService?wsdl&user=")
|
3
|
+
def initialize(username,password,timeout=300)
|
4
|
+
super(username,password,"https://api.five9.com/wssupervisor/SupervisorWebService?wsdl&user=",timeout)
|
5
5
|
@last_working_timestamp = nil
|
6
6
|
end
|
7
7
|
|
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.8
|
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-04-
|
12
|
+
date: 2013-04-10 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Rubygem integration with five9 API
|
15
15
|
email:
|