Module: Warden::Delegated::Model

Extended by:
ActiveSupport::Concern
Defined in:
lib/warden/delegated/model.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
# File 'lib/warden/delegated/model.rb', line 8

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#authenticatable_saltObject



21
22
23
# File 'lib/warden/delegated/model.rb', line 21

def authenticatable_salt
  encrypted_password[0,29] if encrypted_password
end