Class: SkypeR::Parser::SearchActivecallsCommand

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

Overview

<search_activecalls_command> := SEARCH ACTIVECALLS <search_activecalls_response> := CALLS [<identifier_sequence>]

Instance Attribute Summary

Attributes inherited from CommandBase

#response

Instance Method Summary collapse

Constructor Details

#initializeSearchActivecallsCommand

Returns a new instance of SearchActivecallsCommand.



244
245
246
247
248
249
250
251
# File 'lib/skyper/command.rb', line 244

def initialize
  @parser = lambda do
    Yaparc::SeqParser.new(Yaparc::Symbol.new("SEARCH"), Yaparc::Symbol.new("ACTIVECALLS")) do |_,_|
      {:command_instance => self}
    end
  end
  @response = SearchActivecallsResponse.new
end