Skip to content

Messager is a user messaging plugin for Ruby on Rails.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
MIT-LICENSE
Notifications You must be signed in to change notification settings

biximilien/messager

Repository files navigation

Messages

Messaging system for the SP project.

Usage

Add 'messageable' to model

class User
  messageable
end

then call the message method

@user.message(
  from: current_user,
  subject: 'Project inquiry',
  body: 'Sir, ...')

if the alert method from alerts module is present (or a similar interface) sending a message will automatically alert the receiving user.

Installation

Add this line to your application's Gemfile:

gem 'messages'

And then execute:

$ bundle

Or install it yourself as:

$ gem install messages

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.

About

Messager is a user messaging plugin for Ruby on Rails.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
MIT-LICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published