Module: Models::Authorized::ClassMethods

Defined in:
lib/kit/models/authorized.rb

Instance Method Summary collapse

Instance Method Details

#anonymousObject



29
30
31
# File 'lib/kit/models/authorized.rb', line 29

def anonymous
  Models::User.by_name('anonymous') || raise("You probably don't create Anonymous User!")
end