Module: Mongoid::Clients::Sessions
- Included in:
- Mongoid::Clients, Mongoid::Criteria
- Defined in:
- lib/mongoid/clients/sessions.rb
Overview
Encapsulates behavior for using sessions and transactions.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
Add class method mixin functionality.
Class Method Details
.included(base) ⇒ Object
TODO:
Replace with ActiveSupport::Concern
Add class method mixin functionality.
13 14 15 |
# File 'lib/mongoid/clients/sessions.rb', line 13 def self.included(base) base.include(ClassMethods) end |