Class: Symphonia::User::Anonymous
- Inherits:
-
Object
- Object
- Symphonia::User::Anonymous
- Defined in:
- app/models/symphonia/user.rb
Instance Method Summary collapse
- #admin ⇒ Object (also: #admin?)
- #create ⇒ Object
- #email ⇒ Object
- #id ⇒ Object
- #language ⇒ Object
- #logged_in? ⇒ Boolean
- #login ⇒ Object
- #name ⇒ Object
- #persistence_token ⇒ Object
- #save ⇒ Object
Instance Method Details
#admin ⇒ Object Also known as: admin?
83 84 85 |
# File 'app/models/symphonia/user.rb', line 83 def admin false end |
#create ⇒ Object
79 80 81 |
# File 'app/models/symphonia/user.rb', line 79 def create false end |
#email ⇒ Object
71 72 73 |
# File 'app/models/symphonia/user.rb', line 71 def email 'anonym@nothing' end |
#id ⇒ Object
59 60 61 |
# File 'app/models/symphonia/user.rb', line 59 def id 0 end |
#language ⇒ Object
97 98 99 |
# File 'app/models/symphonia/user.rb', line 97 def language nil end |
#logged_in? ⇒ Boolean
89 90 91 |
# File 'app/models/symphonia/user.rb', line 89 def logged_in? false end |
#login ⇒ Object
67 68 69 |
# File 'app/models/symphonia/user.rb', line 67 def login 'anonymous' end |
#name ⇒ Object
63 64 65 |
# File 'app/models/symphonia/user.rb', line 63 def name 'Anonymous' end |
#persistence_token ⇒ Object
93 94 95 |
# File 'app/models/symphonia/user.rb', line 93 def persistence_token nil end |
#save ⇒ Object
75 76 77 |
# File 'app/models/symphonia/user.rb', line 75 def save false end |