Class: Booth::Models::Session
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Booth::Models::Session
- Defined in:
- lib/booth/models/session.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.lifetime ⇒ Object
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_names ⇒ Object
24 25 26 |
# File 'lib/booth/models/session.rb', line 24 def historical_location_names ::Booth::Sessions::HistoricalLocations.call(self) end |