Sha256: 7d6876938ac0616ae463bdf524e8fed532d6e257e19a8c305bfbaf06ecbd18cf
Contents?: true
Size: 1.55 KB
Versions: 1
Compression:
Stored size: 1.55 KB
Contents
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_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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zoomus-0.3.1 | lib/zoomus/actions/user.rb |