Class: EasyWeixin::ReplyMessage

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

Direct Known Subclasses

NewsReplyMessage, TextReplyMessage

Instance Method Summary collapse

Constructor Details

#initializeReplyMessage

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_xmlObject



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