simplificator-withings 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/withings/connection.rb +2 -2
- data/simplificator-withings.gemspec +1 -1
- metadata +3 -3
data/lib/withings/connection.rb
CHANGED
@@ -15,7 +15,7 @@ class Withings::Connection
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def self.get_request(path, token, secret, params)
|
18
|
-
signature = Connection.sign(base_uri + path, params, token, secret)
|
18
|
+
signature = Withings::Connection.sign(base_uri + path, params, token, secret)
|
19
19
|
params.merge!({:oauth_signature => signature})
|
20
20
|
|
21
21
|
response = self.get(path, :query => params)
|
@@ -25,7 +25,7 @@ class Withings::Connection
|
|
25
25
|
|
26
26
|
def get_request(path, params)
|
27
27
|
params.merge!({:userid => @user.user_id})
|
28
|
-
signature = Connection.sign(self.class.base_uri + path, params, @user.oauth_token, @user.oauth_token_secret)
|
28
|
+
signature = Withings::Connection.sign(self.class.base_uri + path, params, @user.oauth_token, @user.oauth_token_secret)
|
29
29
|
params.merge!({:oauth_signature => signature})
|
30
30
|
|
31
31
|
response = self.class.get(path, :query => params)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplificator-withings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 4
|
10
|
+
version: 0.6.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- pascalbetz
|