Ezcomet Ruby SDK
EZComet is the best realtime web message pushing solution.
This gem is Ezcomet Ruby SDK.
Installation
Add this line to your application's Gemfile:
gem 'ezcomet'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ezcomet
Usage (Sample Code)
#!/usr/bin/env ruby
require 'ezcomet'
puts Ezcomet.push 'Your API Key', 'User Name', 'Channel Name', 'Test Message'
puts Ezcomet.flush 'Your API Key', 'User Name', 'Channel Name'
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
LICENSE
The MIT License