module Jsm::Client::Mongoid

Public Class Methods

included(base) click to toggle source
# File lib/jsm/client/mongoid.rb, line 2
def self.included(base)
  base.extend ClassMethods
  # Basically ActiveModel and ActiveRecord almost have the same behavior for its instance
  base.send(:include, Jsm::Client::ActiveModel::InstanceMethods)
end