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
A new instance of Message.
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 |