Module: Authem::Config
Instance Attribute Summary collapse
-
#sign_in_path ⇒ Object
Returns the value of attribute sign_in_path.
Instance Method Summary collapse
Instance Attribute Details
#sign_in_path ⇒ Object
Returns the value of attribute sign_in_path.
5 6 7 |
# File 'lib/authem/config.rb', line 5 def sign_in_path @sign_in_path end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
9 10 11 |
# File 'lib/authem/config.rb', line 9 def configure yield self end |
#user_class ⇒ Object
13 14 15 |
# File 'lib/authem/config.rb', line 13 def user_class @user_class.constantize end |
#user_class=(user_class) ⇒ Object
17 18 19 |
# File 'lib/authem/config.rb', line 17 def user_class=(user_class) @user_class = user_class.to_s end |