Module: LinkedIn::API::NetworkUpdates

Defined in:
lib/linkedin/api/network_updates.rb

Instance Method Summary collapse

Instance Method Details

#network_updates(selector = '~', key: nil, type: nil, **opts) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/linkedin/api/network_updates.rb', line 4

def network_updates(selector = '~', key: nil, type: nil, **opts)
  path = ['network','updates']
  path << { key: key }.to_param if key
  path << type

  execute 'people', opts.merge(selector: selector, path: path.compact.join('/'))
end