wework 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: 23353739f387e0990b71b0aeee47804573a0965f
4
- data.tar.gz: 681c567f7f98bf3dc4d6d3ad616a55ec5f71d7d9
3
+ metadata.gz: 9250f8db2e5ed399e904350ea3aa637ffde4cf35
4
+ data.tar.gz: 52d7d0cdf01ff50029e93ed1323c3b15f217f6b7
5
5
  SHA512:
6
- metadata.gz: 7eea1d777d3461900c64e2bd9f5a711ee75f09248de9f764878cf5bb8657b14f23c550f7fd997a562b30b780a63c3635d3a4296a1f48967cbd9cd3276200aa5c
7
- data.tar.gz: c74e035741920048a38524e2c7c86732b029fcaa701b4ad1d7aba5fe63e8d4f7afe81b8987d261c8356f875cecdb912fe22e4b113a36f00357f20ea2221182bc
6
+ metadata.gz: c606e7facfdb79a078252d20530abc21f0e2f2a56b8f022cd8669f4f71d1b01a4ac1a6137fd9700c866431faa561427212ee9eb560104e14dd29d037822fe577
7
+ data.tar.gz: c7703412bae3286e4508d5812bbe77761677402a28a2ce8fb350066668fa3c1d135c3c08e18e08bb70bcb00038ebb1718791568c788bcc144ea92585d5125fa6
@@ -19,7 +19,7 @@ module Wework
19
19
  noncestr = SecureRandom.hex(8)
20
20
  str = "jsapi_ticket=#{jsapi_ticket}&noncestr=#{noncestr}&timestamp=#{timestamp}&url=#{url}"
21
21
  {
22
- "appId" => app_id,
22
+ "appId" => corp_id,
23
23
  "nonceStr" => noncestr,
24
24
  "timestamp" => timestamp,
25
25
  "url" => url,
@@ -40,6 +40,10 @@ module Wework
40
40
  post 'menu/create', menu, params: {agentid: agent_id}
41
41
  end
42
42
 
43
+ def menu_get
44
+ get 'menu/get', params: {agentid: agent_id}
45
+ end
46
+
43
47
  def menu_delete
44
48
  get 'menu/delete', params: {agentid: agent_id}
45
49
  end
@@ -87,4 +91,4 @@ module Wework
87
91
 
88
92
  end
89
93
  end
90
- end
94
+ end
@@ -1,3 +1,3 @@
1
1
  module Wework
2
- VERSION = '0.2.2'.freeze
2
+ VERSION = '0.2.3'.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: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - seandong
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-28 00:00:00.000000000 Z
11
+ date: 2017-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http