Module: Zoomus::Actions::User
- Included in:
- Client
- Defined in:
- lib/zoomus/actions/user.rb
Instance Method Summary collapse
- #user_create(*args) ⇒ Object
- #user_custcreate(*args) ⇒ Object
- #user_delete(*args) ⇒ Object
- #user_get(*args) ⇒ Object
- #user_getbyemail(*args) ⇒ Object
- #user_list(*args) ⇒ Object
- #user_pending(*args) ⇒ Object
- #user_update(*args) ⇒ Object
Instance Method Details
#user_create(*args) ⇒ Object
15 16 17 18 19 |
# File 'lib/zoomus/actions/user.rb', line 15 def user_create(*args) = Utils.(args) Utils.require_params([:type, :email], ) Utils.parse_response self.class.post('/user/create', :query => ) end |
#user_custcreate(*args) ⇒ Object
27 28 29 30 31 |
# File 'lib/zoomus/actions/user.rb', line 27 def user_custcreate(*args) = Utils.(args) Utils.require_params([:type, :email], ) Utils.parse_response self.class.post('/user/custcreate', :query => ) end |
#user_delete(*args) ⇒ Object
21 22 23 24 25 |
# File 'lib/zoomus/actions/user.rb', line 21 def user_delete(*args) = Utils.(args) Utils.require_params([:id], ) Utils.parse_response self.class.post('/user/delete', :query => ) end |
#user_get(*args) ⇒ Object
39 40 41 42 43 |
# File 'lib/zoomus/actions/user.rb', line 39 def user_get(*args) = Utils.(args) Utils.require_params([:id], ) Utils.parse_response self.class.post('/user/get', :query => ) end |
#user_getbyemail(*args) ⇒ Object
45 46 47 48 49 |
# File 'lib/zoomus/actions/user.rb', line 45 def user_getbyemail(*args) = Utils.(args) Utils.require_params([:email, :login_type], ) Utils.parse_response self.class.post('/user/getbyemail', :query => ) end |
#user_list(*args) ⇒ Object
5 6 7 8 |
# File 'lib/zoomus/actions/user.rb', line 5 def user_list(*args) = Utils.(args) Utils.parse_response self.class.post('/user/list', :query => ) end |
#user_pending(*args) ⇒ Object
10 11 12 13 |
# File 'lib/zoomus/actions/user.rb', line 10 def user_pending(*args) = Utils.(args) Utils.parse_response self.class.post('/user/pending', :query => ) end |
#user_update(*args) ⇒ Object
33 34 35 36 37 |
# File 'lib/zoomus/actions/user.rb', line 33 def user_update(*args) = Utils.(args) Utils.require_params([:id], ) Utils.parse_response self.class.post('/user/update', :query => ) end |