Class: MpWeixin::LinkMessage
- Defined in:
- lib/mp_weixin/models/message.rb
Overview
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1351776360</CreateTime>
<MsgType><![CDATA[link]]></MsgType>
<Title><![CDATA[公众平台官网链接]]></Title>
<Description><![CDATA[公众平台官网链接]]></Description>
<Url><![CDATA[url]]></Url>
<MsgId>1234567890123456</MsgId>
</xml>
LinkMessage = Class.new(Message)
Instance Attribute Summary collapse
-
#Description ⇒ Object
Returns the value of attribute Description.
-
#Title ⇒ Object
Returns the value of attribute Title.
-
#Url ⇒ Object
Returns the value of attribute Url.
Attributes inherited from Message
#CreateTime, #FromUserName, #MsgId, #MsgType, #ToUserName
Method Summary
Methods inherited from Message
#create_time, #created_at, from_xml, #initialize, #msg_id, #reply, #reply_image_message, #reply_music_message, #reply_news_message, #reply_text_message, #reply_video_message, #reply_voice_message
Methods included from ActiveModel::Model
included, #initialize, #persisted?
Constructor Details
This class inherits a constructor from MpWeixin::Message
Instance Attribute Details
#Description ⇒ Object
Returns the value of attribute Description.
225 226 227 |
# File 'lib/mp_weixin/models/message.rb', line 225 def Description @Description end |
#Title ⇒ Object
Returns the value of attribute Title.
225 226 227 |
# File 'lib/mp_weixin/models/message.rb', line 225 def Title @Title end |
#Url ⇒ Object
Returns the value of attribute Url.
225 226 227 |
# File 'lib/mp_weixin/models/message.rb', line 225 def Url @Url end |