Class: LinkedIn::People
- Inherits:
-
APIResource
- Object
- APIResource
- LinkedIn::People
- Defined in:
- lib/linked_in/people.rb
Overview
People APIs
Instance Method Summary collapse
-
#profile(id = {}, options = {}) ⇒ Object
Retrieve a member’s LinkedIn profile.
Methods inherited from APIResource
#id_to_urn, #initialize, #urn_to_id
Constructor Details
This class inherits a constructor from LinkedIn::APIResource
Instance Method Details
#profile(id = {}, options = {}) ⇒ Object
Retrieve a member’s LinkedIn profile.
Required permissions: r_basicprofile, r_fullprofile
36 37 38 39 40 |
# File 'lib/linked_in/people.rb', line 36 def profile(id = {}, = {}) = parse_id(id, ) path = profile_path() get(path, ) end |