simple_wx 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/lib/simple_wx/o_auth.rb +2 -0
- data/lib/simple_wx/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e223bef1ee2c99093513985efdb207277dedd7a
|
4
|
+
data.tar.gz: 2c47e4ffff4f4fcbc5f2897f015d559018c7f5e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d13e275453321f845e768077a306db61f430e8e291abf92e1120bb5a28009e21321b160dcf4ef14dcf7e914228209670c14903e8468f3c3bc08b8f1d4887744e
|
7
|
+
data.tar.gz: 3cb3bcde0afdcd3bd7621e53d73266fc0ecdb0107071fb77f6c9c6d99600964c6054869074ffc87d60bfbab2f44afefa8a019fd7672d194666a8822bcc60a45b
|
data/README.md
CHANGED
@@ -175,6 +175,13 @@ get jsapi_ticket
|
|
175
175
|
auth.get_user_info
|
176
176
|
```
|
177
177
|
|
178
|
+
__第三方登录获取user_info__
|
179
|
+
|
180
|
+
```ruby
|
181
|
+
auth = SimpleWx::OAuth.new(access_token: "o_auth_access_token", openid: "openid")
|
182
|
+
auth.get_user_info
|
183
|
+
```
|
184
|
+
|
178
185
|
------
|
179
186
|
|
180
187
|
### UserInfo
|
data/lib/simple_wx/o_auth.rb
CHANGED
data/lib/simple_wx/version.rb
CHANGED