Module: Lobby::AuthUser::ClassMethods
- Defined in:
- lib/lobby/auth_user.rb
Instance Method Summary collapse
Instance Method Details
#confirmed ⇒ Object
20 21 22 |
# File 'lib/lobby/auth_user.rb', line 20 def confirmed where("confirmed IS NOT NULL") end |
#with_email(email) ⇒ Object
24 25 26 |
# File 'lib/lobby/auth_user.rb', line 24 def with_email(email) where(:email => email) end |
#with_username(username) ⇒ Object
28 29 30 |
# File 'lib/lobby/auth_user.rb', line 28 def with_username(username) where(:username => username) end |