simplificator-withings 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/withings/user.rb +1 -1
- data/simplificator-withings.gemspec +1 -1
- metadata +3 -3
data/lib/withings/user.rb
CHANGED
@@ -10,7 +10,7 @@ class Withings::User
|
|
10
10
|
|
11
11
|
def self.info(user_id, public_key)
|
12
12
|
response = Withings::Connection.get_request('/user', :action => :getbyuserid, :userid => user_id, :publickey => public_key)
|
13
|
-
Withings::User.new(response['users'].first)
|
13
|
+
Withings::User.new(response['users'].first.merge({'public_key' => public_key}))
|
14
14
|
end
|
15
15
|
|
16
16
|
|
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: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 8
|
10
|
+
version: 0.2.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- pascalbetz
|