Class: SkypeR::Parser::ClearVoicemailhistoryCommand

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/skyper/command.rb

Overview

<clear_voicemailhistory_command> := CLEAR VOICEMAILHISTORY

Instance Attribute Summary

Attributes inherited from CommandBase

#response

Instance Method Summary collapse

Constructor Details

#initializeClearVoicemailhistoryCommand

Returns a new instance of ClearVoicemailhistoryCommand.



446
447
448
449
450
451
452
453
454
455
# File 'lib/skyper/command.rb', line 446

def initialize
  @parser = lambda do
    Yaparc::SeqParser.new(
                          Yaparc::Symbol.new('CLEAR'),
                          Yaparc::Symbol.new('VOICEMAILHISTORY')
                          ) do |_,_|
      {:command_instance => self}
    end
  end
end