Class: SBSM::User

Inherits:
Object
  • Object
show all
Defined in:
lib/sbsm/user.rb

Direct Known Subclasses

KnownUser, UnknownUser

Constant Summary collapse

HOME =
nil
[]
SESSION_WEIGHT =
1
SESSION_WEIGHT_FACTOR =

15 Minutes

60 * 15

Instance Method Summary collapse

Instance Method Details

#homeObject



34
35
36
# File 'lib/sbsm/user.rb', line 34

def home
	self::class::HOME
end


37
38
39
# File 'lib/sbsm/user.rb', line 37

def navigation
	self::class::NAVIGATION.dup
end

#passObject



40
# File 'lib/sbsm/user.rb', line 40

def pass; end

#session_weightObject



41
42
43
# File 'lib/sbsm/user.rb', line 41

def session_weight
	self::class::SESSION_WEIGHT * SESSION_WEIGHT_FACTOR
end