Sha256: d0a1dfcc13353ea5732c41a60f34ec5614c3d171db4d9729209bf0656777fb8b
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 Bytes
Contents
class <%= name.camelize.underscore.pluralize %>Controller < BotController def ask_example send_replies update_session_to_next end def get_example if current_message.message == 'Yes' step_to state: 'say_yes_example' elsif current_message.message == 'No' step_to state: 'say_no_example' end end def say_yes_example send_replies update_session_to state: 'ask_example' end def say_no_example send_replies update_session_to state: 'ask_example' end end
Version data entries
3 entries across 3 versions & 1 rubygems