Releases: danielberkompas/ex_twiml
Releases · danielberkompas/ex_twiml
Version 2.1.0
This version comes with two new features:
Verb Option Variables
Verb options can now be a variable. Previously, you to pass in options as a list to each verb, like this:
say "Welcome...", voice: "alice"
say "Press 1 to...", voice: "alice"
Now, you can define a shared variable or private method, and share that between verbs:
options = [voice: "alice"]
say "Welcome...", options
say "Press 1 to...", options
Default Verb Options
Verbs can now have default options. For example, if you wanted the "Alice" voice to be the default, you can update your mix configuration in config/config.exs
like so:
config :ex_twiml, :defaults,
say: [voice: "alice"]
Check out the README for more details on that.
Version 2.0.0
ExTwiml should be ready for production use with this release. The version number was incremented to 2.0.0 because the option
macro has been removed.