Class: SkypeR::Parser::GetCallCommand
- Inherits:
-
CommandBase
- Object
- Yaparc::AbstractParser
- CommandBase
- SkypeR::Parser::GetCallCommand
- Defined in:
- lib/skyper/command.rb
Overview
<get_call_command> := GET CALL <call_id> <call_property>
Instance Attribute Summary
Attributes inherited from CommandBase
Instance Method Summary collapse
-
#initialize ⇒ GetCallCommand
constructor
A new instance of GetCallCommand.
Constructor Details
#initialize ⇒ GetCallCommand
Returns a new instance of GetCallCommand.
159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/skyper/command.rb', line 159 def initialize @parser = lambda do Yaparc::SeqParser.new(Yaparc::Symbol.new("GET"), Yaparc::Symbol.new("CALL"), CallId.new, SkypeR::Parser::CallProperty.new) do |_,_,call_id, property| {:command_instance => self, :property => property, :call_id => call_id} end end @response = GetCallResponse.new end |