Module: ActiveRecord::SecurePassword

Defined in:
lib/version.rb,
lib/active_record/secure_password.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods, InstanceMethodsOnActivation

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.min_costObject

Returns the value of attribute min_cost.



8
9
10
# File 'lib/active_record/secure_password.rb', line 8

def min_cost
  @min_cost
end

Class Method Details

.included(base) ⇒ Object



4
5
6
# File 'lib/active_record/secure_password.rb', line 4

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