Class: MpWeixin::VideoReplyMessage
- Inherits:
-
ReplyMessage
- Object
- ReplyMessage
- MpWeixin::VideoReplyMessage
- Defined in:
- lib/mp_weixin/models/reply_message.rb
Instance Attribute Summary collapse
-
#Video ⇒ Object
Returns the value of attribute Video.
Attributes inherited from ReplyMessage
#CreateTime, #FromUserName, #MsgType, #ToUserName
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ VideoReplyMessage
constructor
A new instance of VideoReplyMessage.
Methods inherited from ReplyMessage
Methods included from ActiveModel::Model
Constructor Details
#initialize(attributes = {}) ⇒ VideoReplyMessage
Returns a new instance of VideoReplyMessage.
112 113 114 115 |
# File 'lib/mp_weixin/models/reply_message.rb', line 112 def initialize(attributes = {}) super @MsgType ||= 'video' end |
Instance Attribute Details
#Video ⇒ Object
Returns the value of attribute Video.
108 109 110 |
# File 'lib/mp_weixin/models/reply_message.rb', line 108 def Video @Video end |