Module: Impresser::Authenticate::InstanceMethods

Defined in:
lib/impresser/mixin/authenticate.rb

Instance Method Summary collapse

Instance Method Details

#hash_password(plain_password) ⇒ Object



34
35
36
# File 'lib/impresser/mixin/authenticate.rb', line 34

def hash_password(plain_password)
  hasher.hash(plain_password)
end

#hasherObject



30
31
32
# File 'lib/impresser/mixin/authenticate.rb', line 30

def hasher
  self.class.hasher
end