UNPKG

drip-nodejs

Version:

A complete NodeJS wrapper for connecting to the Drip v2 REST API

12 lines (11 loc) 291 B
module.exports = { /** * Fetch a list of all custom field identifiers * * @param {callback} callback - An optional callback * @returns {promise} */ listAllCustomFields(callback) { return this.get(`v2/${this.accountId}/custom_field_identifiers/`, {}, callback); } };