Module: Consent::ModelAdditions
- Defined in:
- lib/consent/model_additions.rb
Overview
Accessible Through logic
This module adds the accessible_through class method to a model. It is included in the activerecord base classes by Consent::Engine.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
60 61 62 |
# File 'lib/consent/model_additions.rb', line 60 def self.included(base) base.extend ClassMethods end |