We are sorry to say that as of April 23 2020, we will be fully retiring our Chatkit product. We understand that this will be disappointing to customers who have come to rely on the service, and are very sorry for the disruption that this will cause for them. Our sales and customer support teams are available at this time to handle enquiries and will support existing Chatkit customers as far as they can with transition. All Chatkit billing has now ceased , and customers will pay no more up to or beyond their usage for the remainder of the service. You can read more about our decision to retire Chatkit here: https://blog.pusher.com/narrowing-our-product-focus. If you are interested in learning about how you can build chat with Pusher Channels, check out our tutorials.
Ruby server SDK for Pusher Chatkit.
$ gem install pusher-chatkit-server
Versions of the library below 1.0.0 are deprecated and support for them will soon be dropped.
It is highly recommended that you upgrade to the latest version if you're on an older version. To view a list of changes, please refer to the CHANGELOG.
Refer to the examples
directory. It contains several examples demonstrating all the methods.
Refer to the docs site. It documents how to use all methods with examples.
Be sure to run bundle install
first. Note that if you're running against a production environment, some tests could be destructive.
CHATKIT_INSTANCE_LOCATOR
and CHATKIT_INSTANCE_KEY
in your environmentrake test
Tip: to run individual tests, run rspec spec/client_spec.rb -e "<name of your test>"
Best to do a proper PR, rather than releasing from master, as missing one of these steps could cause a broken release.
chatkit.gemspec
bundle install
Gemfile.lock
bundle install
gem build chatkit.gemspec
gem push pusher-chatkit-server-[version].gem