UNPKG

@kiina/node-zendesk

Version:
22 lines (14 loc) 621 B
//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); };