icws 2.3.1 → 2.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/icws/connection.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56f0ab8a1341e965c7e30d5146c86386c9805b69
4
- data.tar.gz: 9dbd024ac1c6b9bdd02a0f200517bc88f54de582
3
+ metadata.gz: 886e7aeeec5f637be4569f468dd3a8e1fc14f971
4
+ data.tar.gz: 9206df56af8b9086be078a96b4a9346950a6b0b1
5
5
  SHA512:
6
- metadata.gz: a4d25451afca91475c0549a2425fa2d3aa0597ce24ea3ea37f2b6e7f98279541e5bd142bed63b064c12af8600ad1b266332c023a8e9ef0d24ea72b6020f8e2d3
7
- data.tar.gz: 7ee65745fef8490e16f6402afbc942b636f98d87d1a6a98849dbf0cda99cfcc28d3101aa74acc2c5ef5df5ac82dbc23774b4f51ccd86e2cb54f303e3dc6f32b2
6
+ metadata.gz: b5d1856c0a4e4da9fe0c266b87374171bbad7289c817913adae3cdb6051df3b978e8c2d52ab7e05089577847ad0e6a38d4b60d6b891d60ec232c528fc91bc574
7
+ data.tar.gz: 3183947192817e3c9f5d4755e36ddeb8faef5b9343116ce7da4506948260eb9f685deabe81d75d573ee40168782697b782a479c7815311565d8930b25a9a0de8
@@ -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 extraPram == nil || extraParam == ''
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.1
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-28 00:00:00.000000000 Z
11
+ date: 2015-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client