Class: SkypeR::Parser::VoicemailCommand
- Inherits:
-
CommandBase
- Object
- Yaparc::AbstractParser
- CommandBase
- SkypeR::Parser::VoicemailCommand
- Defined in:
- lib/skyper/command.rb
Overview
Send voicemail to user <target> <voicemail_command> := VOICEMAIL <target> <voicemail_response> := VOICEMAIL <id> STATUS <value>
Instance Attribute Summary
Attributes inherited from CommandBase
Instance Method Summary collapse
-
#initialize ⇒ VoicemailCommand
constructor
A new instance of VoicemailCommand.
Constructor Details
#initialize ⇒ VoicemailCommand
Returns a new instance of VoicemailCommand.
369 370 371 372 373 374 375 376 377 378 379 |
# File 'lib/skyper/command.rb', line 369 def initialize @parser = lambda do Yaparc::SeqParser.new( Yaparc::Symbol.new("VOICEMAIL"), Target.new ) do |_,target| {:command_instance => self,:target => target} end end @response = VoicemailResponse.new end |