Class: Clearance::PasswordStrategies::BCryptMigrationFromSHA1::BCryptUser

Inherits:
Object
  • Object
show all
Includes:
Clearance::PasswordStrategies::BCrypt
Defined in:
lib/clearance/password_strategies/bcrypt_migration_from_sha1.rb

Instance Method Summary collapse

Methods included from Clearance::PasswordStrategies::BCrypt

#authenticated?, #password=

Constructor Details

#initialize(user) ⇒ BCryptUser

Returns a new instance of BCryptUser.



7
8
9
# File 'lib/clearance/password_strategies/bcrypt_migration_from_sha1.rb', line 7

def initialize(user)
  @user = user
end