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



32
33
34
# File 'lib/sbsm/user.rb', line 32

def home
	self::class::HOME
end


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

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

#passObject



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

def pass; end

#session_weightObject



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

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