Class: SkypeR::Parser::ChatCreateResponse
- Inherits:
-
ResponseBase
- Object
- Yaparc::AbstractParser
- ResponseBase
- SkypeR::Parser::ChatCreateResponse
- Defined in:
- lib/skyper/response.rb
Overview
<chat_create_response> := CHAT <chat_id> STATUS <value>
Instance Method Summary collapse
-
#initialize ⇒ ChatCreateResponse
constructor
A new instance of ChatCreateResponse.
Constructor Details
#initialize ⇒ ChatCreateResponse
Returns a new instance of ChatCreateResponse.
261 262 263 264 265 266 267 268 269 270 271 272 |
# File 'lib/skyper/response.rb', line 261 def initialize @parser = lambda do Yaparc::SeqParser.new( Yaparc::Symbol.new("CHAT"), CallId.new, Yaparc::Symbol.new("STATUS"), AnyValue.new ) do |_,call_id,_,value| {:call_id => call_id, :value => value} end end end |