Class: Booth::Models::Session
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Booth::Models::Session
- Defined in:
- lib/booth/models/session.rb
Overview
Essentially the session Cookie in one Browser.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.lifespan ⇒ Object
25 26 27 |
# File 'lib/booth/models/session.rb', line 25 def self.lifespan ::Booth.config.session_inactivity_lifetime end |
Instance Method Details
#historical_location_names ⇒ Object
29 30 31 |
# File 'lib/booth/models/session.rb', line 29 def historical_location_names ::Booth::Core::Sessions::HistoricalLocations.call(self) end |