Class: LinkedIn::People

Inherits:
APIResource show all
Defined in:
lib/linked_in/people.rb

Overview

People APIs

Instance Method Summary collapse

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 = {}, options = {})
  options = parse_id(id, options)
  path = profile_path(options)
  get(path, options)
end