From e18824c055e199526fee7182db3091c1cb7e38ce Mon Sep 17 00:00:00 2001 From: taka Date: Fri, 13 Feb 2015 11:45:10 +0100 Subject: [PATCH] Add access token to Send message [REF #22] --- lib/linked_in/communications.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linked_in/communications.rb b/lib/linked_in/communications.rb index 9ad8332..7e6944e 100644 --- a/lib/linked_in/communications.rb +++ b/lib/linked_in/communications.rb @@ -22,7 +22,7 @@ class Communications < APIResource # message # @return [void] def send_message(subject, body, recipient_paths) - path = "/people/~/mailbox" + path = "/people/~/mailbox?oauth2_access_token=" + @connection.params[:oauth2_access_token] message = { subject: subject,