Sha256: c25ef38db6094c6f5ccd6712757d57a81b819899e7959b2f48b79509b609353a
Contents?: true
Size: 1.25 KB
Versions: 2
Compression:
Stored size: 1.25 KB
Contents
# encoding: utf-8 module NeteaseIM class User def self.create(params) Utils.check_required_params(params, %w(accid)) Request.send_sync('user/create.action', params) end def self.update(params) Utils.check_required_params(params, %w(accid)) Request.send_sync('user/update.action', params) end def self.refresh_token(params) Utils.check_required_params(params, %w(accid)) Request.send_sync('user/refreshToken.action', params) end def self.block(params) Utils.check_required_params(params, %w(accid)) Request.send_sync('user/block.action', params) end def self.unblock(params) Utils.check_required_params(params, %w(accid)) Request.send_sync('user/unblock.action', params) end def self.update_uinfo(params) Utils.check_required_params(params, %w(accid)) Request.send_sync('user/updateUinfo.action', params) end def self.get_uinfos(params) Utils.check_required_params(params, %w(accids)) Request.send_sync('user/getUinfos.action', params) end def self.set_donnop(params) Utils.check_required_params(params, %w(accid)) Request.send_sync('user/setDonnop.action', params) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
netease_im-0.1.2 | lib/netease_im/user.rb |
netease_im-0.1.1 | lib/netease_im/user.rb |