Class: MpWeixin::ImageReplyMessage
- Inherits:
-
ReplyMessage
- Object
- ReplyMessage
- MpWeixin::ImageReplyMessage
- Defined in:
- lib/mp_weixin/models/reply_message.rb
Instance Attribute Summary collapse
-
#Image ⇒ Object
Returns the value of attribute Image.
Attributes inherited from ReplyMessage
#CreateTime, #FromUserName, #MsgType, #ToUserName
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ ImageReplyMessage
constructor
A new instance of ImageReplyMessage.
Methods inherited from ReplyMessage
Methods included from ActiveModel::Model
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
#Image ⇒ Object
Returns the value of attribute Image.
63 64 65 |
# File 'lib/mp_weixin/models/reply_message.rb', line 63 def Image @Image end |