Class: Adhearsion::DialPlan
- Defined in:
- lib/adhearsion/voip/dial_plan.rb,
lib/adhearsion/voip/asterisk/special_dial_plan_managers.rb
Defined Under Namespace
Classes: ConfirmationManager, DialplanContextProc, ExecutionEnvironment, Loader, Manager
Instance Attribute Summary collapse
-
#entry_points ⇒ Object
Returns the value of attribute entry_points.
-
#loader ⇒ Object
Returns the value of attribute loader.
Instance Method Summary collapse
-
#initialize(loader = Loader) ⇒ DialPlan
constructor
A new instance of DialPlan.
-
#lookup(context_name) ⇒ Object
Lookup and return an entry point by context name.
Constructor Details
Instance Attribute Details
#entry_points ⇒ Object
Returns the value of attribute entry_points.
27 28 29 |
# File 'lib/adhearsion/voip/dial_plan.rb', line 27 def entry_points @entry_points end |
#loader ⇒ Object
Returns the value of attribute loader.
27 28 29 |
# File 'lib/adhearsion/voip/dial_plan.rb', line 27 def loader @loader end |
Instance Method Details
#lookup(context_name) ⇒ Object
Lookup and return an entry point by context name
36 37 38 |
# File 'lib/adhearsion/voip/dial_plan.rb', line 36 def lookup(context_name) entry_points[context_name] end |