module Zoomus module Actions module User def user_list(*args) options = Utils.extract_options!(args) Utils.parse_response self.class.post('/user/list', :query => options) end def user_pending(*args) options = Utils.extract_options!(args) Utils.parse_response self.class.post('/user/pending', :query => options) end def user_create(*args) options = Utils.extract_options!(args) Utils.require_params([:type, :email], options) Utils.parse_response self.class.post('/user/create', :query => options) end def user_delete(*args) options = Utils.extract_options!(args) Utils.require_params([:id], options) Utils.parse_response self.class.post('/user/delete', :query => options) end def user_custcreate(*args) options = Utils.extract_options!(args) Utils.require_params([:type, :email], options) Utils.parse_response self.class.post('/user/custcreate', :query => options) end def user_update(*args) options = Utils.extract_options!(args) Utils.require_params([:id], options) Utils.parse_response self.class.post('/user/update', :query => options) end def user_get(*args) options = Utils.extract_options!(args) Utils.require_params([:id], options) Utils.parse_response self.class.post('/user/get', :query => options) end def user_getbyemail(*args) options = Utils.extract_options!(args) Utils.require_params([:email, :login_type], options) Utils.parse_response self.class.post('/user/getbyemail', :query => options) end Utils.define_bang_methods(self) end end end