Class: Weixin::VideoMessage

Inherits:
Message
  • Object
show all
Defined in:
lib/weixin/model.rb

Overview

<xml>

<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1376632994</CreateTime>
<MsgType><![CDATA[video]]></MsgType>
<MediaId><![CDATA[TAAGb6iS5LcZR1d5ICiZTWGWi6-Upic9tlWDpAKcNJA]]></MediaId>
<ThumbMediaId><![CDATA[U-xulPW4kq6KKMWFNaBSPc65Bcgr7Qopwex0DfCeyQs]]></ThumbMediaId>
<MsgId>5912593687824566343</MsgId>

</xml>

Instance Method Summary collapse

Methods inherited from Message

#CreateTime, #MsgId, factory, #initialize, #method_missing

Constructor Details

This class inherits a constructor from Weixin::Message

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Weixin::Message

Instance Method Details

#MediaIdObject



151
152
153
# File 'lib/weixin/model.rb', line 151

def MediaId
    @source.MediaId
end

#ThumbMediaIdObject



155
156
157
# File 'lib/weixin/model.rb', line 155

def ThumbMediaId
    @source.ThumbMediaId
end