Class: AdminUser
- Inherits:
-
Object
- Object
- AdminUser
- Defined in:
- bin/zmb
Instance Method Summary collapse
- #admin? ⇒ Boolean
- #authenticated? ⇒ Boolean
- #permission?(perm) ⇒ Boolean
- #userhost ⇒ Object
- #username ⇒ Object
Instance Method Details
#admin? ⇒ Boolean
11 |
# File 'bin/zmb', line 11 def admin?; true; end |
#authenticated? ⇒ Boolean
13 |
# File 'bin/zmb', line 13 def authenticated?; true; end |
#permission?(perm) ⇒ Boolean
12 |
# File 'bin/zmb', line 12 def (perm); true; end |
#userhost ⇒ Object
10 |
# File 'bin/zmb', line 10 def userhost; 'admin@zmb'; end |
#username ⇒ Object
9 |
# File 'bin/zmb', line 9 def username; 'admin'; end |