Class: MpWeixin::VideoReplyMessage

Inherits:
ReplyMessage show all
Defined in:
lib/mp_weixin/models/reply_message.rb

Instance Attribute Summary collapse

Attributes inherited from ReplyMessage

#CreateTime, #FromUserName, #MsgType, #ToUserName

Instance Method Summary collapse

Methods inherited from ReplyMessage

set_nested_attr, #to_xml

Methods included from ActiveModel::Model

included, #persisted?

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

#VideoObject

Returns the value of attribute Video.



108
109
110
# File 'lib/mp_weixin/models/reply_message.rb', line 108

def Video
  @Video
end