Module: LinkedIn::Api::QueryMethods
- Included in:
- Client
- Defined in:
- lib/linked_in/api/query_methods.rb
Instance Method Summary collapse
- #company(options = {}) ⇒ Object
- #connections(options = {}) ⇒ Object
- #group_memberships(options = {}) ⇒ Object
- #group_posts(options) ⇒ Object
- #group_profile(options) ⇒ Object
- #job(options = {}) ⇒ Object
- #job_bookmarks(options = {}) ⇒ Object
- #job_suggestions(options = {}) ⇒ Object
- #network_updates(options = {}) ⇒ Object
- #profile(options = {}) ⇒ Object
- #share_comments(update_key, options = {}) ⇒ Object
- #share_likes(update_key, options = {}) ⇒ Object
- #shares(options = {}) ⇒ Object
Instance Method Details
#company(options = {}) ⇒ Object
21 22 23 24 |
# File 'lib/linked_in/api/query_methods.rb', line 21 def company( = {}) path = company_path() simple_query(path, ) end |
#connections(options = {}) ⇒ Object
11 12 13 14 |
# File 'lib/linked_in/api/query_methods.rb', line 11 def connections(={}) path = "#{person_path()}/connections" simple_query(path, ) end |
#group_memberships(options = {}) ⇒ Object
41 42 43 44 |
# File 'lib/linked_in/api/query_methods.rb', line 41 def group_memberships( = {}) path = "#{person_path()}/group-memberships" simple_query(path, ) end |
#group_posts(options) ⇒ Object
51 52 53 54 |
# File 'lib/linked_in/api/query_methods.rb', line 51 def group_posts() path = "#{group_path()}/posts" simple_query(path, ) end |
#group_profile(options) ⇒ Object
46 47 48 49 |
# File 'lib/linked_in/api/query_methods.rb', line 46 def group_profile() path = group_path() simple_query(path, ) end |
#job(options = {}) ⇒ Object
26 27 28 29 |
# File 'lib/linked_in/api/query_methods.rb', line 26 def job( = {}) path = jobs_path() simple_query(path, ) end |
#job_bookmarks(options = {}) ⇒ Object
31 32 33 34 |
# File 'lib/linked_in/api/query_methods.rb', line 31 def job_bookmarks( = {}) path = "#{person_path()}/job-bookmarks" simple_query(path, ) end |
#job_suggestions(options = {}) ⇒ Object
36 37 38 39 |
# File 'lib/linked_in/api/query_methods.rb', line 36 def job_suggestions( = {}) path = "#{person_path()}/suggestions/job-suggestions" simple_query(path, ) end |
#network_updates(options = {}) ⇒ Object
16 17 18 19 |
# File 'lib/linked_in/api/query_methods.rb', line 16 def network_updates(={}) path = "#{person_path()}/network/updates" simple_query(path, ) end |
#profile(options = {}) ⇒ Object
6 7 8 9 |
# File 'lib/linked_in/api/query_methods.rb', line 6 def profile(={}) path = person_path() simple_query(path, ) end |
#share_comments(update_key, options = {}) ⇒ Object
61 62 63 64 |
# File 'lib/linked_in/api/query_methods.rb', line 61 def share_comments(update_key, ={}) path = "#{person_path()}/network/updates/key=#{update_key}/update-comments" simple_query(path, ) end |
#share_likes(update_key, options = {}) ⇒ Object
66 67 68 69 |
# File 'lib/linked_in/api/query_methods.rb', line 66 def share_likes(update_key, ={}) path = "#{person_path()}/network/updates/key=#{update_key}/likes" simple_query(path, ) end |
#shares(options = {}) ⇒ Object
56 57 58 59 |
# File 'lib/linked_in/api/query_methods.rb', line 56 def shares(={}) path = "#{person_path()}/network/updates" simple_query(path, {:type => "SHAR", :scope => "self"}.merge()) end |