Class: SkypeR::Parser::SearchFriendsCommand
- Inherits:
-
CommandBase
- Object
- Yaparc::AbstractParser
- CommandBase
- SkypeR::Parser::SearchFriendsCommand
- Defined in:
- lib/skyper/command.rb
Overview
<search_friends_command> := SEARCH FRIENDS <search_friends_response> := USERS [user*]
Instance Attribute Summary
Attributes inherited from CommandBase
Instance Method Summary collapse
-
#initialize ⇒ SearchFriendsCommand
constructor
A new instance of SearchFriendsCommand.
Constructor Details
#initialize ⇒ SearchFriendsCommand
Returns a new instance of SearchFriendsCommand.
218 219 220 221 222 223 224 225 |
# File 'lib/skyper/command.rb', line 218 def initialize @parser = lambda do Yaparc::SeqParser.new(Yaparc::Symbol.new("SEARCH"), Yaparc::Symbol.new("FRIENDS")) do |_,_| {:command_instance => self} end end @response = SearchFriendsResponse.new end |