Sha256: cd7e275b548cbc473fef404f11c926b06f0df77019b8a893650cc52689b40396
Contents?: true
Size: 522 Bytes
Versions: 1
Compression:
Stored size: 522 Bytes
Contents
module LinkedIn module API module People def profile(selector = '~', **opts) execute 'people', opts.merge(selector: selector) end def connections(selector = '~', **opts) execute 'people', opts.merge(selector: selector, path: 'connections') end def people_search(query, **opts) wrapped_fields = opts[:fields].blank? ? nil : { people: opts[:fields] } execute 'people-search', opts.merge(params: query, fields: wrapped_fields) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
linkedin2-0.0.17 | lib/linkedin/api/people.rb |