wework 0.1.8 → 0.1.9

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: 5a20dc3e007573181b29a19ac9548e939f95d7ed
4
- data.tar.gz: 5034013d1f78196a381a61187a38f8ac666b243c
3
+ metadata.gz: 80b30548f4c9c7c1192ee26ecdbce4ff7b1aedbb
4
+ data.tar.gz: 90a472517c64284b135d8c201600f616c56932c1
5
5
  SHA512:
6
- metadata.gz: 4cb74878453b9b6763278c9e416d601abc4e4a83774c6b0a7f5873db0daa2f8df1b0987474186416edc38f836102d5c5a5beec4dcf8a6fd76a0f26d77d8c32fd
7
- data.tar.gz: d487d73fc394cc2c279356b2d724811a840f76938e270b2bbab5351548614950d225468525757f4b21ec5e4745c788f1429e2cc79e29733665b5e8f4093379c5
6
+ metadata.gz: 6fd3ba398473aaf178792f43d323d7d892df76cacbfc1481bf98d199b3379ab3537b9cf52e76475eb6b1d48ea16ebc03021471dc35f8be21fdcc8a81f115376b
7
+ data.tar.gz: 972639358ace14e78e8b6dbac54a51e74a13ca1ec99e364d8ac0b6ccb1edd843b15faac5dcee5c1b22d5fe3f121b9b0116a1ff7bcc70d1fd92f607843bc945a3
@@ -34,8 +34,8 @@ module Wework
34
34
  get 'user/list', params: {department_id: department_id, fetch_child: fetch_child}
35
35
  end
36
36
 
37
- def department_create name, parentid=0, data={}
38
- post 'department/create', data.merge(name: name, parentid: parentid)
37
+ def department_create data={}
38
+ post 'department/create', data
39
39
  end
40
40
 
41
41
  def department_update department_id, data={}
@@ -1,3 +1,3 @@
1
1
  module Wework
2
- VERSION = '0.1.8'.freeze
2
+ VERSION = '0.1.9'.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.1.8
4
+ version: 0.1.9
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-23 00:00:00.000000000 Z
11
+ date: 2016-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http