Module: Sinatra::Security::User
- Defined in:
- lib/sinatra/security/user.rb
Overview
Mixes in to any included class all of the following:
-
Sinatra::Security::LoginField
-
Sinatra::Security::Password
-
Sinatra::Security::Validations
It also extends the class with Sinatra::Security::Identification.
Class Method Summary collapse
Class Method Details
.included(user) ⇒ Object
29 30 31 32 33 34 35 |
# File 'lib/sinatra/security/user.rb', line 29 def self.included(user) user.send :include, LoginField user.send :include, Password user.send :include, Validations user.extend Identification end |