Class: SkypeR::Parser::GetChatChatmessagesResponse
- Inherits:
-
ResponseBase
- Object
- Yaparc::AbstractParser
- ResponseBase
- SkypeR::Parser::GetChatChatmessagesResponse
- Defined in:
- lib/skyper/response.rb
Overview
<get_chat_chatmessages_response> := CHAT <chat_id> CHATMESSAGES <identifier_sequence>
Instance Method Summary collapse
-
#initialize ⇒ GetChatChatmessagesResponse
constructor
A new instance of GetChatChatmessagesResponse.
Constructor Details
#initialize ⇒ GetChatChatmessagesResponse
Returns a new instance of GetChatChatmessagesResponse.
99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
# File 'lib/skyper/response.rb', line 99 def initialize @parser = lambda do Yaparc::SeqParser.new(Yaparc::Symbol.new("CHAT"), ChatID.new, Yaparc::Symbol.new("CHATMESSAGES"), Yaparc::ManyParser.new( Yaparc::SeqParser.new(Yaparc::Symbol.new(','), Target.new) do |_, target| target end ) ) end end |