ihealth 2.2.5 → 2.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ihealth.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c6c5f9c1e770456693e59d8bd3c74d3e3cfe0ea
|
4
|
+
data.tar.gz: 840793595ee7ddd6fcf4fd61e73c69f057413329
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 145f050b80ab8c999002cc50b9665a072871bd472edd4cbb29c27752a2e19588c467769ffe01697d64be9d1d6858ba55aecfe5fd36f352b33a8a554dd333c7d8
|
7
|
+
data.tar.gz: 0659fa849b633142acbc0364994504a8457b45cfb287ed6f184c71802bab3d5e4e544479dba200b2d84bb5cd95e0381d5b26cbfce807e13152fa4bd4d6c40e12
|
data/lib/ihealth.rb
CHANGED
@@ -22,7 +22,7 @@ class Ihealth
|
|
22
22
|
|
23
23
|
# Sets the default "User Agent" that will be passed to identify the application
|
24
24
|
# Please Change the User Agent to be descriptive for your organization.
|
25
|
-
USER_AGENT = "Ruby iHealth Gem/2.2.
|
25
|
+
USER_AGENT = "Ruby iHealth Gem/2.2.6"
|
26
26
|
|
27
27
|
# Creates the initial connection by performaing authentication
|
28
28
|
def initialize username, password, proxyserver = nil, proxyport = nil, proxyuser = nil, proxypass = nil
|
@@ -181,7 +181,7 @@ class Ihealth
|
|
181
181
|
else
|
182
182
|
commandstring = commands[0]
|
183
183
|
end
|
184
|
-
url = URI("#{@IHEALTHBASE}qkviews/#{qid}/commands.#{format}
|
184
|
+
url = URI("#{@IHEALTHBASE}qkviews/#{qid}/commands.#{format}?resources=#{commandstring}")
|
185
185
|
respone = make_request url
|
186
186
|
headers = {'User Agent' => USER_AGENT, 'Cookie' => @cookies }
|
187
187
|
@proxyserver.nil? ? (ihealthclient = Net::HTTP::new(url.host, url.port)) : (ihealthclient = Net::HTTP::new(url.host, url.port,@proxyserver, @proxyport, @proxyuser, @proxypass))
|