examples/status.rb in linkedin-0.4.0 vs examples/status.rb in linkedin-0.4.1
- old
+ new
@@ -1,9 +1,6 @@
# AUTHENTICATE FIRST found in examples/authenticate.rb
# client is a LinkedIn::Client
# update status for the authenticated user
-client.update_status('is playing with the LinkedIn Ruby gem')
-
-# clear status for the currently logged in user
-client.clear_status
+client.add_share(:comment => 'is playing with the LinkedIn Ruby gem')