Class: EasyWeixin::ReplyMessage
- Inherits:
-
Object
- Object
- EasyWeixin::ReplyMessage
- Includes:
- ROXML
- Defined in:
- lib/easy_weixin/message.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ ReplyMessage
constructor
A new instance of ReplyMessage.
- #to_xml ⇒ Object
Constructor Details
#initialize ⇒ ReplyMessage
Returns a new instance of ReplyMessage.
24 25 26 |
# File 'lib/easy_weixin/message.rb', line 24 def initialize @CreateTime = Time.now.to_i end |
Instance Method Details
#to_xml ⇒ Object
28 29 30 |
# File 'lib/easy_weixin/message.rb', line 28 def to_xml super.to_xml(:encoding => 'UTF-8', :indent => 0, :save_with => 0) end |