Class: AdminUser

Inherits:
Object
  • Object
show all
Defined in:
bin/zmb

Instance Method Summary collapse

Instance Method Details

#admin?Boolean

Returns:

  • (Boolean)


11
# File 'bin/zmb', line 11

def admin?; true; end

#authenticated?Boolean

Returns:

  • (Boolean)


13
# File 'bin/zmb', line 13

def authenticated?; true; end

#permission?(perm) ⇒ Boolean

Returns:

  • (Boolean)


12
# File 'bin/zmb', line 12

def permission?(perm); true; end

#userhostObject



10
# File 'bin/zmb', line 10

def userhost; 'admin@zmb'; end

#usernameObject



9
# File 'bin/zmb', line 9

def username; 'admin'; end