allscripts_unity_client 5.1.1 → 5.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e3c1de17519bfaffd2999f2d1fa8b33b9e65b16212e27a36fad2ffa4106b71f
|
4
|
+
data.tar.gz: 6c37e7d42bbf802d79f3ffbe9b7f852f05afeba39e249e8966c8061a566285db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 497b561873e117e3245b7a8b9572dd2ddfe834b1b8de839c0e188c0f3f5dc7f58799dde643cd3ac3ac792d138decfb8a6b9833bd256a04c0e52db9f096cdf1ec
|
7
|
+
data.tar.gz: 6edd6b08f8ee65c95e9595d3a2561f5a6a7c61eb568c28e06c3821964fb75f2b1c61739967f0448fcfb67a610989997bea5c4eaca45a39e148727864d5bcd7be
|
@@ -65,6 +65,10 @@ module AllscriptsUnityClient
|
|
65
65
|
@client_driver.get_security_token!(parameters)
|
66
66
|
end
|
67
67
|
|
68
|
+
def set_security_token(token)
|
69
|
+
@client_driver.security_token = token
|
70
|
+
end
|
71
|
+
|
68
72
|
# Implement Unity's RetireSecurityToken endpoint using Savon.
|
69
73
|
#
|
70
74
|
# parameters:: A hash of Unity parameters for RetireSecurityToken. If not given then defaults to
|
@@ -5,7 +5,7 @@ module AllscriptsUnityClient
|
|
5
5
|
|
6
6
|
# A ClientDriver that supports Unity's JSON endpoints.
|
7
7
|
class JSONClientDriver < ClientDriver
|
8
|
-
attr_accessor :json_base_url, :connection
|
8
|
+
attr_accessor :json_base_url, :connection, :security_token
|
9
9
|
|
10
10
|
UNITY_JSON_ENDPOINT = '/Unity/UnityService.svc/json'
|
11
11
|
TOKEN_REGEX = /^"?(\w|-)+"?$/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allscripts_unity_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- healthfinch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|