def send_message(self, message):
        assert type(message) == LinkedInMessage, 'LinkedInInvitation required'
        url = '%s/~/mailbox' % ENDPOINTS.PEOPLE
        response = self.make_request('POST', url,
                                     data=json.dumps(message.json))
        raise_for_error(response)
        return True
dataset/ETHPy150Open ozgur/python-linkedin/linkedin/linkedin.py/LinkedInApplication.send_message/original