lib/statraptor/client/users.rb in statraptor-0.2.0 vs lib/statraptor/client/users.rb in statraptor-0.2.1

- old
+ new

@@ -1,17 +1,17 @@ module StatRaptor class Client module Users def create_user(params = {}) - post("/users.json", :user => params) + post("/api/v1/users.json", :user => params) end def delete_user(user_credentials) - delete("/users/#{user_credentials}.json") + delete("/api/v1/users/#{user_credentials}.json") end def get_users - get("/users.json") + get("/api/v1/users.json") end end end end