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 +4 -4
- data/lib/wework/api/methods/provider.rb +5 -0
- data/lib/wework/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5374370b839d61bc5d60a159fe4b72d11dec40fea3a605f35894ab66e9515f5c
|
4
|
+
data.tar.gz: 05624fed768fefe0fa1e858769b4f8e94d16d2524603b7041b28b01a565bcb2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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: 1.1.
|
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-
|
11
|
+
date: 2018-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|