Skip to content

Commit

Permalink
updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lanrion committed Mar 20, 2014
1 parent 2672825 commit b81efc9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,15 @@ Or install it yourself as:
```ruby

$client ||= WeixinAuthorize::Client.new(ENV["APPID"], ENV["APPSECRET"])

```

If you use ** Redis ** to store your access_token, you can also specify the `key`:
If you use [Redis](http://redis.io) to store your access_token, you can also specify the `key`:

```ruby

$client ||= WeixinAuthorize::Client.new(ENV["APPID"], ENV["APPSECRET"], "your_store_key")

```

## Configure to use ** Redis ** to store your access_token (Recommend)
## Configure to use Redis to store your access_token (Recommend)

* Create file in: `config/initializers/weixin_authorize.rb`

Expand All @@ -54,7 +51,6 @@ $client ||= WeixinAuthorize::Client.new(ENV["APPID"], ENV["APPSECRET"], "your_st
WeixinAuthorize.configure do |config|
config.redis = redis
end

```

### 获取用户管理信息
Expand Down

0 comments on commit b81efc9

Please sign in to comment.