Sha256: b07f06f44bed6c677a370182fbd475259c0f79d113af35c9c385d7e6cb2aaa36
Contents?: true
Size: 606 Bytes
Versions: 13
Compression:
Stored size: 606 Bytes
Contents
# AUTHENTICATE FIRST found in examples/authenticate.rb # client is a LinkedIn::Client # get the profile for the authenticated user client.profile # get a profile for someone found in network via ID client.profile(:id => 'gNma67_AdI') # get a profile for someone via their public profile url client.profile(:url => 'http://www.linkedin.com/in/netherland') # provides the ability to access authenticated user's company field in the profile user = client.profile(:fields => %w(positions)) companies = user.positions.all.map{|t| t.company} # Example: most recent company can be accessed via companies[0]
Version data entries
13 entries across 13 versions & 5 rubygems