Class: SkypeR::Parser::SearchCallsCommand
- Inherits:
-
CommandBase
- Object
- Yaparc::AbstractParser
- CommandBase
- SkypeR::Parser::SearchCallsCommand
- Defined in:
- lib/skyper/command.rb
Overview
<search_calls_command> := SEARCH CALLS <search_calls_response> := CALLS [<identifier_sequence>]
Instance Attribute Summary
Attributes inherited from CommandBase
Instance Method Summary collapse
-
#initialize ⇒ SearchCallsCommand
constructor
A new instance of SearchCallsCommand.
Constructor Details
#initialize ⇒ SearchCallsCommand
Returns a new instance of SearchCallsCommand.
231 232 233 234 235 236 237 238 |
# File 'lib/skyper/command.rb', line 231 def initialize @parser = lambda do Yaparc::SeqParser.new(Yaparc::Symbol.new("SEARCH"), Yaparc::Symbol.new("CALLS")) do |_,_| {:command_instance => self} end end @response = SearchCallsResponse.new end |