icws 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/icws/connection.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 886e7aeeec5f637be4569f468dd3a8e1fc14f971
|
4
|
+
data.tar.gz: 9206df56af8b9086be078a96b4a9346950a6b0b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5d1856c0a4e4da9fe0c266b87374171bbad7289c817913adae3cdb6051df3b978e8c2d52ab7e05089577847ad0e6a38d4b60d6b891d60ec232c528fc91bc574
|
7
|
+
data.tar.gz: 3183947192817e3c9f5d4755e36ddeb8faef5b9343116ce7da4506948260eb9f685deabe81d75d573ee40168782697b782a479c7815311565d8930b25a9a0de8
|
data/lib/icws/connection.rb
CHANGED
@@ -17,11 +17,11 @@ class ICWS
|
|
17
17
|
# Connects to the server
|
18
18
|
# @param user [String] the name of the user to connect with
|
19
19
|
# @param password [String] the password for the user
|
20
|
-
def connect(user, password, extraParam, extraValue)
|
21
|
-
if
|
20
|
+
def connect(user, password, extraParam=nil, extraValue=nil)
|
21
|
+
if extraParam == nil || extraParam == ''
|
22
22
|
extraParam = "x-icws"
|
23
23
|
end
|
24
|
-
|
24
|
+
|
25
25
|
connectResponse = RestClient.post @server +'/icws/connection',
|
26
26
|
{
|
27
27
|
'__type' => "urn:inin.com:connection:icAuthConnectionRequestSettings",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: icws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Glinski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|