wework 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wework/api/agent.rb +1 -1
- data/lib/wework/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74f65e6821ddde3f2a616abc69a618c1ec02f99f
|
4
|
+
data.tar.gz: e767aa1be49288aac5e55f1aaaef38233dacc7d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 116514bf4422fa51da241e6242bbbe8094dc977d214a682f3b7e1a45e9d1fddeba73a93bcde498cac9768e2729706f17313bfd5b97afaef70a3d92153c0360a9
|
7
|
+
data.tar.gz: 614985cd3d574771efa4b12e1364cf1d7ad923f459f5350909ae5f496ceaf99846512c97fb441fcf3211a8b0fdbc0d775ecca38990e2a85872d255ce9719b637
|
data/lib/wework/api/agent.rb
CHANGED
@@ -7,7 +7,7 @@ module Wework
|
|
7
7
|
|
8
8
|
def authorize_url(redirect_uri, scope="snsapi_base", state="wxwork")
|
9
9
|
uri = ERB::Util.url_encode(redirect_uri)
|
10
|
-
"#{AUTHORIZE_ENDPOINT}?appid=#{corp_id}&redirect_uri=#{uri}&response_type=code&scope=#{scope}&state=#{state}#wechat_redirect"
|
10
|
+
"#{AUTHORIZE_ENDPOINT}?appid=#{corp_id}&redirect_uri=#{uri}&response_type=code&scope=#{scope}&agentid=#{app_id}&state=#{state}#wechat_redirect"
|
11
11
|
end
|
12
12
|
|
13
13
|
def get_oauth_userinfo code
|
data/lib/wework/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- seandong
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|