Class: Brightcontent::AdminUser
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Brightcontent::AdminUser
- Defined in:
- app/models/brightcontent/admin_user.rb
Class Method Summary collapse
Class Method Details
.authenticate(email, password) ⇒ Object
7 8 9 |
# File 'app/models/brightcontent/admin_user.rb', line 7 def self.authenticate(email, password) find_by_email(email).try :authenticate, password end |