Class: Adhearsion::VoIP::Asterisk::AMI::Packet
- Inherits:
-
Hash
- Object
- Hash
- Adhearsion::VoIP::Asterisk::AMI::Packet
show all
- Defined in:
- lib/adhearsion/voip/asterisk/ami/parser.rb
Instance Method Summary
collapse
Instance Method Details
Return the hash, without the internal Action ID
22
23
24
25
26
|
# File 'lib/adhearsion/voip/asterisk/ami/parser.rb', line 22
def body
returning clone do |packet|
packet.delete 'ActionID'
end
end
|
#error? ⇒ Boolean
9
10
11
|
# File 'lib/adhearsion/voip/asterisk/ami/parser.rb', line 9
def error?
false
end
|
#is_event? ⇒ Boolean
17
18
19
|
# File 'lib/adhearsion/voip/asterisk/ami/parser.rb', line 17
def is_event?
false
end
|
28
29
30
|
# File 'lib/adhearsion/voip/asterisk/ami/parser.rb', line 28
def message
self['Message']
end
|
#raw? ⇒ Boolean
13
14
15
|
# File 'lib/adhearsion/voip/asterisk/ami/parser.rb', line 13
def raw?
false
end
|