Class: Socrates::SampleStates::EndConversation1
- Inherits:
-
Object
- Object
- Socrates::SampleStates::EndConversation1
- Includes:
- Core::State
- Defined in:
- lib/socrates/sample_states.rb
Instance Attribute Summary
Attributes included from Core::State
#adapter, #data, #session, #user
Instance Method Summary collapse
Methods included from Core::State
#end_conversation, #initialize, #listen, #next_state_action, #next_state_id, #repeat_action, #respond, #send_message, #transition_to
Instance Method Details
#ask ⇒ Object
154 155 156 157 158 159 |
# File 'lib/socrates/sample_states.rb', line 154 def ask respond message: "That's all for now..." # Example of another :ask => :ask transition. transition_to :end_conversation_2 end |