wework 1.1.6 → 1.1.7

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: f64f0d8436c00eabc6bccec0ec06674b344c683af83c289d5bbab600efddeed0
4
- data.tar.gz: afb5f5ac2ad3d80b1e5b22738ef2c77445e9a1c89bc54bceaaeb9ec88a349583
3
+ metadata.gz: 5374370b839d61bc5d60a159fe4b72d11dec40fea3a605f35894ab66e9515f5c
4
+ data.tar.gz: 05624fed768fefe0fa1e858769b4f8e94d16d2524603b7041b28b01a565bcb2e
5
5
  SHA512:
6
- metadata.gz: 1961367ffc18e715cd434df2b9e7928ab9894a5f53ee6d40f3b9df7224803461a928457cd756db90cc7068c3237c8e26029206fb504f46e512dedd6096a6d212
7
- data.tar.gz: f50251f9823dbcd33c0076107533667590b010da0d83624a262c5784a1a0f565eb7dd2321a456de248ef43764a346b6a8103aabed24c8c92c263248a59b752cc
6
+ metadata.gz: 998c2d6ce9420260dfa0afcb1331dc75092471b82aad189cbc5e509d4ca68e0d383fb9a82634ba8130591d3a7814d15517b837b26a1cd28c7da7013aa5f6c49b
7
+ data.tar.gz: 6c4058794c2c8026e1f6edd547cf44ddd2c29a2adef201589aeaf603b2200f371945bea5ba1d0e71aec6e8f3a5351057c0afda71a87292e9fb1dbf850e5047fa
@@ -10,6 +10,11 @@ module Wework
10
10
  def get_login_info auth_code
11
11
  post 'service/get_login_info', {auth_code: auth_code}
12
12
  end
13
+
14
+ def get_register_code template_id, options={}
15
+ params = {template_id: template_id}
16
+ post 'service/get_register_code', params.merge(options)
17
+ end
13
18
  end
14
19
  end
15
20
  end
@@ -1,3 +1,3 @@
1
1
  module Wework
2
- VERSION = '1.1.6'.freeze
2
+ VERSION = '1.1.7'.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.6
4
+ version: 1.1.7
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-27 00:00:00.000000000 Z
11
+ date: 2018-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http