restpack-group-client 0.0.30 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
@@ -61,7 +61,8 @@ module RestPack
|
|
61
61
|
users = []
|
62
62
|
#TODO: GJ: use the user gem
|
63
63
|
user_ids.each do |user_id|
|
64
|
-
|
64
|
+
json = '{"user":{"id":9,"channel_id":31,"description":null,"email":"gavinjoyce@gmail.com","image":"https://lh4.googleusercontent.com/-QUimGD9w7w8/AAAAAAAAAAI/AAAAAAAAGUo/4HBZhyAgBps/photo.jpg","location":null,"name":"Gavin Joyce","nickname":null,"url":"/api/v1/users/9.json"}}'
|
65
|
+
users << Yajl::Parser.parse(json, :symbolize_keys => true)[:user]
|
65
66
|
end
|
66
67
|
|
67
68
|
|