Class: Adhearsion::VoIP::DSL::Dialplan::NoOpEventCommand
- Inherits:
-
EventCommand
- Object
- EventCommand
- Adhearsion::VoIP::DSL::Dialplan::NoOpEventCommand
- Defined in:
- lib/adhearsion/voip/dsl/dialplan/dispatcher.rb
Instance Attribute Summary collapse
-
#on_keypress ⇒ Object
readonly
Returns the value of attribute on_keypress.
-
#timeout ⇒ Object
readonly
Returns the value of attribute timeout.
Attributes inherited from EventCommand
#app, #args, #response_block, #returns
Instance Method Summary collapse
-
#initialize(timeout = nil, hash = {}) ⇒ NoOpEventCommand
constructor
A new instance of NoOpEventCommand.
Methods inherited from EventCommand
Constructor Details
#initialize(timeout = nil, hash = {}) ⇒ NoOpEventCommand
Returns a new instance of NoOpEventCommand.
45 46 47 48 |
# File 'lib/adhearsion/voip/dsl/dialplan/dispatcher.rb', line 45 def initialize(timeout=nil, hash={}) @timeout = timeout @on_keypress = hash[:on_keypress] end |
Instance Attribute Details
#on_keypress ⇒ Object (readonly)
Returns the value of attribute on_keypress.
44 45 46 |
# File 'lib/adhearsion/voip/dsl/dialplan/dispatcher.rb', line 44 def on_keypress @on_keypress end |
#timeout ⇒ Object (readonly)
Returns the value of attribute timeout.
44 45 46 |
# File 'lib/adhearsion/voip/dsl/dialplan/dispatcher.rb', line 44 def timeout @timeout end |