Class: TelegramActionExampleGroup::TestStartAction

Inherits:
TelegramWorkflow::Action show all
Defined in:
lib/telegram_workflow/rspec.rb

Instance Method Summary collapse

Methods inherited from TelegramWorkflow::Action

#__reset_callbacks, #__run_on_message, #__run_on_redirect, #initialize, #on_message, #on_redirect, #shared

Constructor Details

This class inherits a constructor from TelegramWorkflow::Action

Instance Method Details

#initialObject



75
76
77
# File 'lib/telegram_workflow/rspec.rb', line 75

def initial
  on_message { redirect_to example_group.current_action }
end