Method: Converse::Interaction#discuss
- Defined in:
- lib/converse/interaction.rb
#discuss ⇒ Object
99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/converse/interaction.rb', line 99 def discuss @conversation = broker.broker_conversation(@broker.open_topic(@concern, @action)) @conversation.subscribe(SimpleLogger.new) @should_i_ask ? response = ask : response = say if not success?(response) response = handle_error!(response) return nil if response.nil? end translated_response = broker.translate_response(response) interpret_conversation(translated_response) end |