pusher / chatkit-server-ruby

Ruby server SDK for Chatkit
https://pusher.com/chatkit
MIT License
12 stars 11 forks source link

Documentation is wrong for send_message #30

Closed cyurtbil closed 5 years ago

cyurtbil commented 5 years ago

What?

The documentation is wrong for the send_message section of the Ruby SDK: https://pusher.com/docs/chatkit/reference/server-ruby#send-a-message

It says that the user_id parameter should be used for sending a message but it gives an error.

Suggested improvements

It should be sender_id instead of user_id

vivangkumar commented 5 years ago

Hey @cyurtbil! Thanks for noticing it and bringing this to our attention. I'll get it fixed.