lib/totter/client/users.rb in totter-0.4.2 vs lib/totter/client/users.rb in totter-0.4.3
- old
+ new
@@ -94,8 +94,19 @@
# client.user_votes('5')
def votes(user_id)
get("users/#{user_id}/votes").body
end
+ # Find friends on social networks
+ #
+ # @return Array of [Hashie::Mash]
+ # @param user_id [String] ID of the user
+ # @example
+ # client.following('5')
+ def social_find_friends(user_id)
+ post("users/#{user_id}/social_find_friends").body
+ end
+
+
end
end
end