Class: MpWeixin::ImageReplyMessage

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 = {}) ⇒ ImageReplyMessage

Returns a new instance of ImageReplyMessage.



67
68
69
70
# File 'lib/mp_weixin/models/reply_message.rb', line 67

def initialize(attributes = {})
  super
  @MsgType ||= 'image'
end

Instance Attribute Details

#ImageObject

Returns the value of attribute Image.



63
64
65
# File 'lib/mp_weixin/models/reply_message.rb', line 63

def Image
  @Image
end