Class: Symphonia::User::Anonymous

Inherits:
Object
  • Object
show all
Defined in:
app/models/symphonia/user.rb

Instance Method Summary collapse

Instance Method Details

#adminObject Also known as: admin?



83
84
85
# File 'app/models/symphonia/user.rb', line 83

def admin
  false
end

#createObject



79
80
81
# File 'app/models/symphonia/user.rb', line 79

def create
  false
end

#emailObject



71
72
73
# File 'app/models/symphonia/user.rb', line 71

def email
  'anonym@nothing'
end

#idObject



59
60
61
# File 'app/models/symphonia/user.rb', line 59

def id
  0
end

#languageObject



97
98
99
# File 'app/models/symphonia/user.rb', line 97

def language
  nil
end

#logged_in?Boolean

Returns:

  • (Boolean)


89
90
91
# File 'app/models/symphonia/user.rb', line 89

def logged_in?
  false
end

#loginObject



67
68
69
# File 'app/models/symphonia/user.rb', line 67

def 
  'anonymous'
end

#nameObject



63
64
65
# File 'app/models/symphonia/user.rb', line 63

def name
  'Anonymous'
end

#persistence_tokenObject



93
94
95
# File 'app/models/symphonia/user.rb', line 93

def persistence_token
  nil
end

#saveObject



75
76
77
# File 'app/models/symphonia/user.rb', line 75

def save
  false
end