Exception: Adhearsion::VoIP::Menu::MenuResultFound

Inherits:
MenuResult show all
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

MenuGetAnotherDigitOrFinish

Instance Attribute Summary collapse

Instance Method Summary collapse

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_payloadObject (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_extensionObject (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