unityapi 0.1.0 → 0.1.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.
- data/README.md +5 -1
- data/lib/unityapi/unity_client.rb +1 -1
- data/lib/unityapi/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -21,7 +21,11 @@ Or install it yourself as:
|
|
21
21
|
1.) Initialize the Unity Client
|
22
22
|
|
23
23
|
client = Unityapi::UnityClient.new(unity_username, unity_password, appname, unity_server_url)
|
24
|
-
|
24
|
+
|
25
|
+
If using a proxy server:
|
26
|
+
|
27
|
+
client = Unityapi::UnityClient.new(unity_username, unity_password, appname, unity_server_url, proxy_server_url)
|
28
|
+
|
25
29
|
2.) Make calls with the client
|
26
30
|
|
27
31
|
unity_response = client.magic_action(action_name, provider_username, patient_id, param_1, param_2, param_3, param_4, param_5, param_6)
|
@@ -261,7 +261,7 @@ module Unityapi
|
|
261
261
|
end
|
262
262
|
|
263
263
|
def get_provider(provider_id, user_name)
|
264
|
-
response = magic_action("GetProvider")
|
264
|
+
response = magic_action("GetProvider", self.user, nil, provider_id, user_name)
|
265
265
|
return response.body[:magic_response][:magic_result][:diffgram][:getproviderresponse][:getproviderinfo]
|
266
266
|
end
|
267
267
|
|
data/lib/unityapi/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unityapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
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: 2012-11-
|
12
|
+
date: 2012-11-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: savon
|