Exception: Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceError
- Inherits:
-
Exception
- Object
- Exception
- Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceError
- Defined in:
- lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
- #[](key) ⇒ Object
- #[]=(key, value) ⇒ Object
-
#initialize ⇒ ManagerInterfaceError
constructor
A new instance of ManagerInterfaceError.
Constructor Details
#initialize ⇒ ManagerInterfaceError
Returns a new instance of ManagerInterfaceError.
52 53 54 |
# File 'lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb', line 52 def initialize @headers = HashWithIndifferentAccess.new end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
51 52 53 |
# File 'lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb', line 51 def @message end |
Instance Method Details
#[](key) ⇒ Object
56 57 58 |
# File 'lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb', line 56 def [](key) @headers[key] end |
#[]=(key, value) ⇒ Object
60 61 62 |
# File 'lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb', line 60 def []=(key,value) @headers[key] = value end |