Class: Adhearsion::CallController::MenuDSL::Menu::MenuResultFound

Inherits:
MenuResult
  • Object
show all
Defined in:
lib/adhearsion/call_controller/menu_dsl/menu.rb

Direct Known Subclasses

MenuGetAnotherDigitOrFinish

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(match_object, new_extension) ⇒ MenuResultFound

Returns a new instance of MenuResultFound



166
167
168
169
170
# File 'lib/adhearsion/call_controller/menu_dsl/menu.rb', line 166

def initialize(match_object, new_extension)
  super()
  @match_object = match_object
  @new_extension = new_extension
end

Instance Attribute Details

#match_objectObject (readonly)

Returns the value of attribute match_object



164
165
166
# File 'lib/adhearsion/call_controller/menu_dsl/menu.rb', line 164

def match_object
  @match_object
end

#new_extensionObject (readonly)

Returns the value of attribute new_extension



164
165
166
# File 'lib/adhearsion/call_controller/menu_dsl/menu.rb', line 164

def new_extension
  @new_extension
end