Class: Booth::Models::Session

Inherits:
ApplicationRecord show all
Defined in:
lib/booth/models/session.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.lifetimeObject



6
7
8
# File 'lib/booth/models/session.rb', line 6

def self.lifetime
  ::Booth.config.session_inactivity_lifetime
end

Instance Method Details

#historical_location_namesObject



24
25
26
# File 'lib/booth/models/session.rb', line 24

def historical_location_names
  ::Booth::Sessions::HistoricalLocations.call(self)
end