Class: EasyWeixin::Message
- Inherits:
-
Object
- Object
- EasyWeixin::Message
- Includes:
- Response
- Defined in:
- lib/easy_weixin/message.rb
Instance Method Summary collapse
-
#initialize(to, from, time) ⇒ Message
constructor
attr_accessor :ToUserName, :FromUserName, :CreateTime.
Methods included from Response
#analysis_xml, #news_msg, #text_msg
Constructor Details
#initialize(to, from, time) ⇒ Message
attr_accessor :ToUserName, :FromUserName, :CreateTime
8 9 10 11 12 |
# File 'lib/easy_weixin/message.rb', line 8 def initialize(to,from,time) @ToUserName = to @FromUserName = from @CreateTime = time end |