Class: MpWeixin::VoiceReplyMessage
- Inherits:
-
ReplyMessage
- Object
- ReplyMessage
- MpWeixin::VoiceReplyMessage
- Defined in:
- lib/mp_weixin/models/reply_message.rb
Instance Attribute Summary collapse
-
#Voice ⇒ Object
Returns the value of attribute Voice.
Attributes inherited from ReplyMessage
#CreateTime, #FromUserName, #MsgType, #ToUserName
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ VoiceReplyMessage
constructor
A new instance of VoiceReplyMessage.
Methods inherited from ReplyMessage
Methods included from ActiveModel::Model
Constructor Details
#initialize(attributes = {}) ⇒ VoiceReplyMessage
Returns a new instance of VoiceReplyMessage.
88 89 90 91 |
# File 'lib/mp_weixin/models/reply_message.rb', line 88 def initialize(attributes = {}) super @MsgType ||= 'voice' end |
Instance Attribute Details
#Voice ⇒ Object
Returns the value of attribute Voice.
84 85 86 |
# File 'lib/mp_weixin/models/reply_message.rb', line 84 def Voice @Voice end |