Class: SkypeR::Parser::SearchCommand

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

Overview

<search_command> := <search_friends_command>

|  <search_users_command>
|  <search_calls_command>
|  <search_activecalls_command>
|  <search_missedcalls_command>
|  <search_voicemails_command>
|  <search_chats_command>
|  <search_missedchats_command>
|  <search_activechats_command>
|  <search_recentchats_command>
|  <search_bookmarkedchats_command>
|  <search_chatmessages_command>
|  <search_missedchatmessages_command>
|  <search_userswaitingmyauthorization_command>

Instance Attribute Summary

Attributes inherited from CommandBase

#response

Instance Method Summary collapse

Constructor Details

#initializeSearchCommand

Returns a new instance of SearchCommand.



187
188
189
190
191
192
193
194
195
196
197
198
# File 'lib/skyper/command.rb', line 187

def initialize
  @parser = lambda do
    Yaparc::AltParser.new(
                          SearchUsersCommand.new,
                          SearchFriendsCommand.new,
                          SearchCallsCommand.new,
                          SearchActivecallsCommand.new,
                          SearchMissedcallsCommand.new,
                          SearchUserswaitingmyauthorizationCommand.new
                          )
  end
end