lib/zoomus/actions/user.rb in zoomus-0.3.0 vs lib/zoomus/actions/user.rb in zoomus-0.3.1
- old
+ new
@@ -29,10 +29,22 @@
options = Utils.extract_options!(args)
Utils.require_params([:id], options)
Utils.parse_response self.class.post('/user/update', :query => options)
end
- Utils.define_bang_methods(self)
+ 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