Class: SkypeR::Parser::GetCommand

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

Overview

<get_command> := <get_user_command>

|  <get_profile_command>
|  <get_call_command>
|  <get_chat_chatmessages_command>
|  <get_chat_recentchatmessages_command>

Instance Attribute Summary

Attributes inherited from CommandBase

#response

Instance Method Summary collapse

Constructor Details

#initializeGetCommand

Returns a new instance of GetCommand.



69
70
71
72
73
74
75
76
77
78
79
# File 'lib/skyper/command.rb', line 69

def initialize
  @parser = lambda do
    Yaparc::AltParser.new(
                          GetUserCommand.new,
                          GetUserstatusCommand.new,
                          GetProfileCommand.new,
                          GetCallCommand.new,
                          GetChatChatmessagesCommand.new
                          )
  end
end