Class: HellosController

Inherits:
BotController show all
Defined in:
lib/stealth/generators/builder/bot/controllers/hellos_controller.rb

Constant Summary

Constants included from Stealth::Controller::DynamicDelay

Stealth::Controller::DynamicDelay::LONG_DELAY, Stealth::Controller::DynamicDelay::SHORT_DELAY, Stealth::Controller::DynamicDelay::STANDARD_DELAY

Instance Attribute Summary

Attributes inherited from Stealth::Controller

#action_name, #current_flow, #current_message, #current_service, #current_session_id, #current_user_id, #flow_controller

Instance Method Summary collapse

Methods inherited from BotController

#route

Methods inherited from Stealth::Controller

#action, #current_session, #has_attachments?, #has_location?, #initialize, #previous_session, #progressed?, #route, #step_to, #step_to_at, #step_to_in, #update_session_to

Methods included from Stealth::Controller::DynamicDelay

#calculate_delay_from_text

Constructor Details

This class inherits a constructor from Stealth::Controller

Instance Method Details

#say_helloObject



3
4
5
# File 'lib/stealth/generators/builder/bot/controllers/hellos_controller.rb', line 3

def say_hello
  send_replies
end