RealtimeChange
Gem for realtime client-server communication. Created to work with communication-socket.
Installation
Add this line to your application's Gemfile:
gem 'realtime_change'
And then execute:
$ bundle
Or install it yourself as:
$ gem install realtime_change
Usage
Basic Configuration:
# Configure
RealtimeChange.setup do |config|
config.redis = Redis.new url: "redis://localhost:6379"
end
# Add model functionality
if defined?(ActiveRecord::Base)
ActiveRecord::Base.extend RealtimeChange::Model
end
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/emesonsantana/realtime_change. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.