Class: SkypeR::Parser::SearchCallsCommand

Inherits:
CommandBase
  • Object
show all
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

#response

Instance Method Summary collapse

Constructor Details

#initializeSearchCallsCommand

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