Class: MpWeixin::TextReplyMessage
- Inherits:
-
ReplyMessage
- Object
- ReplyMessage
- MpWeixin::TextReplyMessage
- Defined in:
- lib/mp_weixin/models/reply_message.rb
Instance Attribute Summary collapse
-
#Content ⇒ Object
include ActiveModel::Model.
Attributes inherited from ReplyMessage
#CreateTime, #FromUserName, #MsgType, #ToUserName
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ TextReplyMessage
constructor
A new instance of TextReplyMessage.
Methods inherited from ReplyMessage
Methods included from ActiveModel::Model
Constructor Details
#initialize(attributes = {}) ⇒ TextReplyMessage
Returns a new instance of TextReplyMessage.
46 47 48 49 |
# File 'lib/mp_weixin/models/reply_message.rb', line 46 def initialize(attributes = {}) super @MsgType ||= 'text' end |
Instance Attribute Details
#Content ⇒ Object
include ActiveModel::Model
43 44 45 |
# File 'lib/mp_weixin/models/reply_message.rb', line 43 def Content @Content end |