d2wd-client
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -21,3 +21,3 @@ "use strict"; | ||
value: function retrieve(id) { | ||
return this.client.get(this.resourceUrl + "/reviews/" + id); | ||
return this.client.get("/reviews/" + id); | ||
} | ||
@@ -27,3 +27,3 @@ }, { | ||
value: function retrieveByProduct(id) { | ||
return this.client.get(this.resourceUrl + "/products/" + id + "/reviews"); | ||
return this.client.get("/products/" + id + "/reviews"); | ||
} | ||
@@ -33,3 +33,3 @@ }, { | ||
value: function create(data) { | ||
return this.client.post(this.resourceUrl + "/reviews", data); | ||
return this.client.post("/reviews", data); | ||
} | ||
@@ -39,3 +39,3 @@ }, { | ||
value: function update(id, data) { | ||
return this.client.put(this.resourceUrl + "/reviews/" + id, data); | ||
return this.client.put("/reviews/" + id, data); | ||
} | ||
@@ -42,0 +42,0 @@ }, { |
{ | ||
"name": "d2wd-client", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "d2wd API client library. Work on browser and server.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
293193