Module: YxSdk::Api::User
- Included in:
- Client
- Defined in:
- lib/yx_sdk/api/user.rb
Instance Method Summary collapse
Instance Method Details
#create(params = {}) ⇒ Object
同步创建
6 7 8 9 |
# File 'lib/yx_sdk/api/user.rb', line 6 def create(params={}) user_info_url = "#{user_base_url}/create.action" http_post(user_info_url, params) end |
#refreshToken(accid) ⇒ Object
16 17 18 19 |
# File 'lib/yx_sdk/api/user.rb', line 16 def refreshToken(accid) user_info_url = "#{user_base_url}/refreshToken.action" http_post(user_info_url, {accid: accid}) end |
#update(params = {}) ⇒ Object
11 12 13 14 |
# File 'lib/yx_sdk/api/user.rb', line 11 def update(params={}) user_info_url = "#{user_base_url}/update.action" http_post(user_info_url, params) end |