Employer::Mongoid
Mongoid backend for Employer
Installation
Add this line to your application's Gemfile:
gem 'employer-mongoid'
And then execute:
$ bundle
Or install it yourself as:
$ gem install employer-mongoid
Usage
Ensure that your Employer configuration starts with something like the below:
require "./config/environment.rb"
require "employer-mongoid"
pipeline_backend Employer::Mongoid::Pipeline.new
If you're not using Rails then require whatever sets up your application's environment instead of config/environment.rb before requiring employer-mongoid.
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