pengwynn/linkedin — Issue #95: LinkedIn::Client#network_updates(:type => "type") doesn't work!
Author: alexdowad
Created: 2012-01-06 19:14:45+00:00
State: open

Lines 8, 9 from examples/network.rb:

# get profile picture changes
client.network_updates(:type => 'PICT')

IRB transcript:

>> updates = client.network_updates(:type => "PRFU"); updates.all.map(&:update_type)
=> ["CONN", "CONN", "CONN", "CONN", "STAT", "JGRP", "CONN", "CONN", "CONN", "CONN"]

Looking at the code, it's obvious why "network_updates(:type => 'type')" doesn't work. "person_path", at line 40 of lib/api/query_methods.rb, only pays attention to option keys :id and :url.