Module: Sinatra::Authentication::Password
- Defined in:
- lib/sinatra/authentication/password.rb
Defined Under Namespace
Modules: Hashing
Class Method Summary collapse
Class Method Details
.included(model) ⇒ Object
6 7 8 9 |
# File 'lib/sinatra/authentication/password.rb', line 6 def self.included(model) # model.attribute :crypted_password # model.send :attr_accessor, :password, :password_confirmation end |