lib/zoomus/actions/user.rb in zoomus-0.0.7 vs lib/zoomus/actions/user.rb in zoomus-0.1.0
- old
+ new
@@ -5,13 +5,21 @@
def user_list
parse_response self.class.post("/user/list")
end
def user_create(*args)
- options = args.extract_options!
+ options = extract_options!(args)
require_params([:type, :email], options)
parse_response self.class.post("/user/create", :query => options)
end
+ def user_custcreate(*args)
+ options = extract_options!(args)
+ require_params([:type, :email], options)
+ parse_response self.class.post("/user/custcreate", :query => options)
+ end
+
+ Utils::define_bang_methods(self)
+
end
end
-end
\ No newline at end of file
+end