Module: Telegram::Bot::UpdatesController::Session::ConfigMethods
- Included in:
- Telegram::Bot::UpdatesController
- Defined in:
- lib/telegram/bot/updates_controller/session.rb
Instance Method Summary collapse
Instance Method Details
#session_store=(store) ⇒ Object
91 92 93 |
# File 'lib/telegram/bot/updates_controller/session.rb', line 91 def session_store=(store) config.session_store = ActiveSupport::Cache.lookup_store(store) end |
#use_session! ⇒ Object
95 96 97 |
# File 'lib/telegram/bot/updates_controller/session.rb', line 95 def use_session! include Session end |