wework 1.1.9 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a27b4356a46bd485622d6e9dcea2cf1be0a571eb52499ce64788a1dc80a57f5
4
- data.tar.gz: 4441474ed9f3e4c75d329e903c1e5cb2ed12dfd35ac29aa35332d1914a870b9d
3
+ metadata.gz: 3da9ef45528f36cf4ae7d00f2f1003cd28434521f92746649041d6e405b40a5d
4
+ data.tar.gz: a792e4129d778a66d232da0439d937f4128a4fa9e0d194815af9fe330818990e
5
5
  SHA512:
6
- metadata.gz: af3288c1e54e2de58fb25363701cc9bcf2b8edcfdda0075df4f2193f35fa505fbf2dda47f27f43387c28e48db425004298c22532e7ba7f6753ef657978b21229
7
- data.tar.gz: 0da06a1707b5c849b7eed20fa6a6adbc4d4d78dc7887243b8eb363b6b7d6a6d00b711eb185d0f0c10221d05b6fbc86d0ee66e0955a8a221e20fe14c97084313d
6
+ metadata.gz: 2b50dd7799cafca89d649d96402964cdbd79e86e116d89acb62dbba74dc196e050a206713c13eecd8820e6addd630a3b3acace6661041758f464e3617cd2d9b4
7
+ data.tar.gz: 3124fa217b49d14b1bf3846ed105b96d019496f162996a1d3e29a6a7bdcdc3ec39117af0f707adf115e37925f47cb8d5c1ebb249cf846cba92dca0d5b3dfe8d0
@@ -8,7 +8,7 @@ module Wework
8
8
  end
9
9
 
10
10
  def get_login_info auth_code
11
- post 'service/get_login_info', {auth_code: auth_code}
11
+ post 'service/get_login_info', {auth_code: auth_code, access_token: access_token}
12
12
  end
13
13
 
14
14
  def get_register_code template_id, options={}
@@ -17,6 +17,12 @@ module Wework
17
17
  def token_store
18
18
  @token_store ||= Token::ProviderToken.new self
19
19
  end
20
+
21
+ private
22
+
23
+ def token_params
24
+ {provider_access_token: access_token}
25
+ end
20
26
  end
21
27
  end
22
28
  end
@@ -1,3 +1,3 @@
1
1
  module Wework
2
- VERSION = '1.1.9'.freeze
2
+ VERSION = '1.2.0'.freeze
3
3
  end
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: 1.1.9
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - seandong
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-30 00:00:00.000000000 Z
11
+ date: 2018-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http