class MyForum::Engine
Constants
- CUSTOM_AUTHENTICATE_METHOD
- CUSTOM_USER_CLASS
- CUSTOM_USER_LOGIN_ATTR
- CUSTOM_USER_PASSWORD_ATTR
- USE_CUSTOM_USER_MODEL
Attributes
custom_authenticate_method[RW]
custom_user_class[RW]
custom_user_login_attr[RW]
custom_user_password_attr[RW]
use_custom_user_model[RW]
Public Class Methods
new()
click to toggle source
# File lib/my_forum/engine.rb, line 29 def initialize self.use_custom_user_model = USE_CUSTOM_USER_MODEL self.custom_user_class = CUSTOM_USER_CLASS self.custom_user_login_attr = CUSTOM_USER_LOGIN_ATTR self.custom_user_password_attr = CUSTOM_USER_PASSWORD_ATTR self.custom_authenticate_method = CUSTOM_AUTHENTICATE_METHOD end