Telephonist.State

Elixir.Telephonist.State represents a given state for an ongoing phone call.

Attributes

Example

%Telephonist.State{
  name: "introduction",
  machine: IntroductionMachine,
  options: %{
    language: "en"
  },
  twiml: "<?xml ..."
}

Summary

complete(state)

Returns a 'complete' state, with data from a given state

Types

t :: %Telephonist.State{name: atom, machine: atom, options: %{}, twiml: String.t}

Functions

complete(state)

Specs:

Returns a 'complete' state, with data from a given state