lib/wework/api/contact.rb in wework-0.1.7 vs lib/wework/api/contact.rb in wework-0.1.8

- old
+ new

@@ -4,11 +4,11 @@ def initialize(corp_id, corp_secret) super(corp_id, CONTACT_AGENT_ID, corp_secret) end - def user_create userid, name, mobile, department, data={} - post 'user/create', data.merge(userid: userid, name: name, mobile: mobile, department: department) + def user_create data={} + post 'user/create', data end def user_get userid get 'user/get', params: {userid: userid} end \ No newline at end of file