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.



27
28
29
# File 'lib/easy_weixin/message.rb', line 27

def initialize
	@CreateTime = Time.now.to_i
end

Instance Method Details

#to_xmlObject



31
32
33
# File 'lib/easy_weixin/message.rb', line 31

def to_xml
  super.to_xml(:encoding => 'UTF-8', :indent => 0, :save_with => 0)
end