Class: EasyWeixin::Message

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

Instance Method Summary collapse

Methods included from Response

#analysis_xml, #news_msg, #text_msg

Constructor Details

#initialize(to, from, time) ⇒ Message

Returns a new instance of Message.



5
6
7
8
9
# File 'lib/easy_weixin/message.rb', line 5

def initialize(to,from,time)
	@ToUserName = to
	@FromUserName = from
	@CreateTime = time
end