Class: SkypeR::Parser::VoicemailResponse
- Inherits:
-
ResponseBase
- Object
- Yaparc::AbstractParser
- ResponseBase
- SkypeR::Parser::VoicemailResponse
- Defined in:
- lib/skyper/response.rb
Overview
<voicemail_response> := VOICEMAIL <id> STATUS <value>
Instance Method Summary collapse
-
#initialize ⇒ VoicemailResponse
constructor
A new instance of VoicemailResponse.
Constructor Details
#initialize ⇒ VoicemailResponse
Returns a new instance of VoicemailResponse.
245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/skyper/response.rb', line 245 def initialize @parser = lambda do Yaparc::SeqParser.new( Yaparc::Symbol.new("VOICEMAIL"), CallId.new, Yaparc::Symbol.new("STATUS"), AnyValue.new ) do |_,call_id,_,value| {:call_id => call_id, :value => value} end end end |