icws 2.3 → 2.3.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/icws/connection.rb +5 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28229bfcc60f3d5224c935e68a7983621d14de20
4
- data.tar.gz: 48cb2676fffc8347bf56abbc00b7f50587318f26
3
+ metadata.gz: 56f0ab8a1341e965c7e30d5146c86386c9805b69
4
+ data.tar.gz: 9dbd024ac1c6b9bdd02a0f200517bc88f54de582
5
5
  SHA512:
6
- metadata.gz: 13e254fd234acb02dee8adf5f816ba7254c4456f9a5d3debdf155cf81033b55b7b53f211f0ba028ab7939ecb1afc897e3afcf3ae5f873be9e8e406ed65c228c1
7
- data.tar.gz: 9f695c787e6eda9e5b86bcd59151d319da29f65f666a5f237de8e16888c7369b2cea66276284ae5c1fb1f9f2992b55b4373156748a2f3e9267451fc8eb91ca73
6
+ metadata.gz: a4d25451afca91475c0549a2425fa2d3aa0597ce24ea3ea37f2b6e7f98279541e5bd142bed63b064c12af8600ad1b266332c023a8e9ef0d24ea72b6020f8e2d3
7
+ data.tar.gz: 7ee65745fef8490e16f6402afbc942b636f98d87d1a6a98849dbf0cda99cfcc28d3101aa74acc2c5ef5df5ac82dbc23774b4f51ccd86e2cb54f303e3dc6f32b2
@@ -17,7 +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='x-icws', extraValue='')
20
+ def connect(user, password, extraParam, extraValue)
21
+ if extraPram == nil || extraParam == ''
22
+ extraParam = "x-icws"
23
+ end
24
+
21
25
  connectResponse = RestClient.post @server +'/icws/connection',
22
26
  {
23
27
  '__type' => "urn:inin.com:connection:icAuthConnectionRequestSettings",
metadata CHANGED
@@ -1,7 +1,7 @@
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Glinski