Skip to content

Commit

Permalink
Enhance the document from Eric-Guo#132
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Guo committed Dec 3, 2017
1 parent 53a47b2 commit c62a942
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,10 @@ class WechatReportsController < ApplicationController
end
```

## 在ActiveJob/Rake tasks中调用有wechat api

可以通过`Wechat.api`在任意地方使用wechat api的功能。

## wechat_responder - Rails Responder Controller DSL

为了在Rails app中响应用户的消息,开发者需要创建一个wechat responder controller. 首先在router中定义
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,10 @@ class WechatReportsController < ApplicationController
end
```

## Using wechat api at ActiveJob/Rake tasks

Using `Wechat.api` to access the wechat api function at any place.

## wechat_responder - Rails Responder Controller DSL

In order to respond to the message user sent, Rails developer needs to create a wechat responder controller and define the routing in `routes.rb`
Expand Down

0 comments on commit c62a942

Please sign in to comment.