ExUssd (ExUssd v0.1.3) View Source
Link to this section Summary
Link to this section Types
Specs
t() :: %ExUssd{ continue: {boolean(), boolean()}, data: map(), default_error: String.t(), delimiter: {String.t(), boolean()}, error: {String.t(), boolean()}, handle: term(), handler: (... -> any()), id: String.t(), init: term(), menu_list: {[ %ExUssd{ continue: term(), data: term(), default_error: term(), delimiter: term(), error: term(), handle: term(), handler: term(), id: term(), init: term(), menu_list: term(), name: term(), next: term(), orientation: term(), parent: term(), previous: term(), should_close: term(), show_navigation: term(), split: term(), success: term(), title: term(), validation_menu: term() } ], boolean()}, name: String.t(), next: {map(), boolean()}, orientation: term(), parent: %ExUssd{ continue: term(), data: term(), default_error: term(), delimiter: term(), error: term(), handle: term(), handler: term(), id: term(), init: term(), menu_list: term(), name: term(), next: term(), orientation: term(), parent: term(), previous: term(), should_close: term(), show_navigation: term(), split: term(), success: term(), title: term(), validation_menu: term() }, previous: {map(), boolean()}, should_close: {boolean(), boolean()}, show_navigation: {boolean(), boolean()}, split: {integer(), boolean()}, success: term(), title: {String.t(), boolean()}, validation_menu: {%ExUssd{ continue: term(), data: term(), default_error: term(), delimiter: term(), error: term(), handle: term(), handler: term(), id: term(), init: term(), menu_list: term(), name: term(), next: term(), orientation: term(), parent: term(), previous: term(), should_close: term(), show_navigation: term(), split: term(), success: term(), title: term(), validation_menu: term() }, boolean()} }
Link to this section Functions
See ExUssd.Op.add/2
.
See ExUssd.Op.dynamic/2
.
See ExUssd.Op.goto/1
.
See ExUssd.Op.new/1
.
See ExUssd.Op.set/2
.
defmodule MyAppWeb.Router do
use Phoenix.Router
import ExUssd
scope "/", MyAppWeb do
pipe_through [:browser]
simulate "/simulator",
menu: ExUssd.new(name: "Home", handler: MyHomeHandler),
phone_numbers: ["254700100100", "254700200200", "254700300300"]
end
end