@kiina/node-zendesk
Version:
zendesk API client wrapper
22 lines (14 loc) • 621 B
JavaScript
//sharingAgreement.js: Client for the zendesk API.
var util = require('util'),
Client = require('./client').Client;
var SharingAgreement = exports.SharingAgreement = function (options) {
this.jsonAPINames = [ 'sharing-agreement' ];
Client.call(this, options);
};
// Inherit from Client base object
util.inherits(SharingAgreement, Client);
// ######################################################## SharingAgreement
// ====================================== Listing SharingAgreement
SharingAgreement.prototype.show = function (cb) {
return this.request('GET', ['sharing_agreements'], cb);
};