Method: EncryptedPassword.included

Defined in:
lib/app/models/concerns/encrypted_password.rb

.included(base) ⇒ Object

Base class extension



12
13
14
15
16
17
18
19
20
# File 'lib/app/models/concerns/encrypted_password.rb', line 12

def self.included(base)
  base.class_eval do
    include CipherAble
    #
    # Fields
    #
    field :encrypted_password, type: String
  end
end