Class: SkypeR::Parser::SetCommand

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

Overview

<set_command> := <set_call_inprogress_command>

|  <set_call_finished_command>
|  <set_call_onhold_command>

Instance Attribute Summary

Attributes inherited from CommandBase

#response

Instance Method Summary collapse

Constructor Details

#initializeSetCommand

Returns a new instance of SetCommand.



285
286
287
288
289
290
291
292
293
# File 'lib/skyper/command.rb', line 285

def initialize
  @parser = lambda do
    Yaparc::AltParser.new(
                          SetCallInprogressCommand.new,
                          SetCallFinishedCommand.new,
                          SetCallOnholdCommand.new
                          )
  end
end