Module: Unsakini::EncryptableModelConcern
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/concerns/unsakini/encryptable_model_concern.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#encryptable_attributes ⇒ Object
Returns the model’s ‘encryptable_attributes` class instance variable.
Instance Method Details
#encryptable_attributes ⇒ Object
Returns the model’s ‘encryptable_attributes` class instance variable.
36 37 38 |
# File 'app/models/concerns/unsakini/encryptable_model_concern.rb', line 36 def encryptable_attributes self.class.instance_variable_get(:@encryptable_attributes) || [] end |