lib/statraptor/client/projects.rb in statraptor-0.2.0 vs lib/statraptor/client/projects.rb in statraptor-0.2.1
- old
+ new
@@ -1,13 +1,13 @@
module StatRaptor
class Client
module Projects
def create_project(params = {})
- post("/projects", params)
+ post("/api/v1/projects", params)
end
def delete_project(params = {})
- delete("/projects/#{params[:subdomain]}", :user_credentials => params[:user_credentials])
+ delete("/api/v1/projects/#{params[:subdomain]}", :user_credentials => params[:user_credentials])
end
end
end
end