Class: Weixin::ReplyMessage

Inherits:
Object
  • Object
show all
Includes:
ROXML
Defined in:
lib/weixin/model.rb

Instance Method Summary collapse

Constructor Details

#initializeReplyMessage

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_xmlObject



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