Class: Userbin::Session
Instance Method Summary collapse
- #authenticated? ⇒ Boolean
-
#user ⇒ Object
Hack to avoid loading a remote user.
Instance Method Details
#authenticated? ⇒ Boolean
19 20 21 |
# File 'lib/userbin/session.rb', line 19 def authenticated? !user.id.nil? rescue false end |