Class: AnonymousUser
- Inherits:
-
Object
- Object
- AnonymousUser
- Defined in:
- backend/app/model/anonymous_user.rb
Instance Method Summary collapse
Instance Method Details
#anonymous? ⇒ Boolean
3 4 5 |
# File 'backend/app/model/anonymous_user.rb', line 3 def anonymous? true end |
#can?(permission, opts = {}) ⇒ Boolean
13 14 15 |
# File 'backend/app/model/anonymous_user.rb', line 13 def can?(, opts = {}) false end |
#username ⇒ Object
8 9 10 |
# File 'backend/app/model/anonymous_user.rb', line 8 def username nil end |