Class: Weixin::ReplyMessage
- Inherits:
-
Object
- Object
- Weixin::ReplyMessage
- Includes:
- ROXML
- Defined in:
- lib/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.
170 171 172 |
# File 'lib/weixin/model.rb', line 170 def initialize @CreateTime = Time.now.to_i end |
Instance Method Details
#to_xml ⇒ Object
174 175 176 |
# File 'lib/weixin/model.rb', line 174 def to_xml super.to_xml(:encoding => 'UTF-8', :indent => 0, :save_with => 0) end |