Class: EasyWeixin::ReplyMessage

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

Direct Known Subclasses

NewsReplyMessage, TextReplyMessage

Instance Method Summary collapse

Constructor Details

#initializeReplyMessage

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_xmlObject



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