Module: Telegram::Bot::UpdatesController::Session
- Extended by:
- ActiveSupport::Concern
- Included in:
- MessageContext
- Defined in:
- lib/telegram/bot/updates_controller/session.rb
Overview
Add functionality to store data between requests.
Defined Under Namespace
Modules: ClassMethods, ConfigMethods Classes: NullSessionHash, SessionHash
Instance Method Summary collapse
Instance Method Details
#process_action ⇒ Object
23 24 25 26 27 |
# File 'lib/telegram/bot/updates_controller/session.rb', line 23 def process_action(*) super ensure session.commit if @_session end |