Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added current user's shares as an option (client.shares)

  • Loading branch information...
commit 61b9b218b1f587babcaf205d70596cc275ba2f11 1 parent c7dcadc
@dylandrop dylandrop authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/linked_in/api/query_methods.rb
View
5 lib/linked_in/api/query_methods.rb
@@ -27,6 +27,11 @@ def group_memberships(options = {})
path = "#{person_path(options)}/group-memberships"
simple_query(path, options)
end
+
+ def shares(options={})
+ path = "#{person_path(options)}/network/updates?type=SHAR&scope=self"
+ simple_query(path, options)
+ end
private
Please sign in to comment.
Something went wrong with that request. Please try again.