Exception: Adhearsion::VoIP::Menu::MenuResultFound
- Inherits:
-
MenuResult
- Object
- Exception
- MenuResult
- Adhearsion::VoIP::Menu::MenuResultFound
- Defined in:
- lib/adhearsion/voip/menu_state_machine/menu_class.rb,
lib/adhearsion/voip/menu_state_machine/menu_class.rb
Overview
Raised when the user’s input matches
Direct Known Subclasses
Instance Attribute Summary collapse
-
#match_payload ⇒ Object
readonly
Returns the value of attribute match_payload.
-
#new_extension ⇒ Object
readonly
Returns the value of attribute new_extension.
Instance Method Summary collapse
-
#initialize(match_payload, new_extension) ⇒ MenuResultFound
constructor
A new instance of MenuResultFound.
Constructor Details
#initialize(match_payload, new_extension) ⇒ MenuResultFound
Returns a new instance of MenuResultFound.
112 113 114 115 116 |
# File 'lib/adhearsion/voip/menu_state_machine/menu_class.rb', line 112 def initialize(match_payload, new_extension) super() @match_payload = match_payload @new_extension = new_extension end |
Instance Attribute Details
#match_payload ⇒ Object (readonly)
Returns the value of attribute match_payload.
111 112 113 |
# File 'lib/adhearsion/voip/menu_state_machine/menu_class.rb', line 111 def match_payload @match_payload end |
#new_extension ⇒ Object (readonly)
Returns the value of attribute new_extension.
111 112 113 |
# File 'lib/adhearsion/voip/menu_state_machine/menu_class.rb', line 111 def new_extension @new_extension end |