Class: EasyWeixin::ReplyMessage
- Inherits:
-
Object
- Object
- EasyWeixin::ReplyMessage
- Includes:
- ROXML
- Defined in:
- lib/easy_weixin/model.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.
33 34 35 |
# File 'lib/easy_weixin/model.rb', line 33 def initialize @CreateTime = Time.now.to_i end |
Instance Method Details
#to_xml ⇒ Object
37 38 39 |
# File 'lib/easy_weixin/model.rb', line 37 def to_xml super.to_xml(:encoding => 'UTF-8', :indent => 0, :save_with => 0) end |