var utils = require('./utils');

function Posts(options) {
  this.options = options;
}

Posts.prototype.getAll = function(callback) {
  utils.request('GET', this.options.apiUrl + 'forums/posts', this.options.apiKey, function(data) {
    return callback(data);
  });
}

Posts.prototype.getOne = function(id, callback) {
  utils.request('GET', this.options.apiUrl + 'forums/posts/' + id, this.options.apiKey, function(data) {
    return callback(data);
  });
}

Posts.prototype.create = function(callback) {
}

Posts.prototype.update = function(id, callback) {
}

Posts.prototype.delete = function(id, callback) {
  utils.request('DELETE', this.options.apiUrl + 'forums/topics/' + id, this.options.apiKey, function(data) {
    return callback(data);
  });
}

module.exports = Posts;

@@ -665,13 +665,12 @@
 ums/
-topic
+post
 s/' 

Fix url action