lib/netease_im/user.rb in netease_im-0.1.0 vs lib/netease_im/user.rb in netease_im-0.1.1
- old
+ new
@@ -10,35 +10,35 @@
def self.update(params)
Utils.check_required_params(params, %w(accid))
Request.send_sync('user/update.action', params)
end
- def refresh_token(params)
+ def self.refresh_token(params)
Utils.check_required_params(params, %w(accid))
Request.send_sync('user/refreshToken.action', params)
end
- def block(params)
+ def self.block(params)
Utils.check_required_params(params, %w(accid))
Request.send_sync('user/block.action', params)
end
- def unblock(params)
+ def self.unblock(params)
Utils.check_required_params(params, %w(accid))
Request.send_sync('user/unblock.action', params)
end
- def update_uinfo(params)
+ def self.update_uinfo(params)
Utils.check_required_params(params, %w(accid))
Request.send_sync('user/updateUinfo.action', params)
end
- def get_uinfos(params)
+ def self.get_uinfos(params)
Utils.check_required_params(params, %w(accids))
Request.send_sync('user/getUinfos.action', params)
end
- def set_donnop(params)
+ def self.set_donnop(params)
Utils.check_required_params(params, %w(accid))
Request.send_sync('user/setDonnop.action', params)
end
end
\ No newline at end of file