This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
state :hello do | |
# These sentences are "spoken" via the Twilio Say verb. | |
# | |
say "Twilio Gorillas. Wasssaaap!" | |
# Text specified as prompt is added to the "sayings" for this state. | |
# The prompt associates the key-press, names the event, and specifies | |
# next state to transition to. | |
# | |
prompt 1, "If you are a jungle-dweller, press 1", :primal, :go => :jungle_dweller | |
prompt 2, "Captured primates, please press 2", :captured, :go => :zoo_habitant |
NewerOlder