UNPKG

xcoobee-sdk

Version:

The XcooBee SDK is a facility to abstract lower level calls and implement standard behaviors. The XcooBee team is providing this to improve the speed of implementation and show the best practices while interacting with XcooBee.

23 lines (18 loc) 392 B
const Response = require('./Response'); /** * A response representing a successful response. That is, the SDK function call * completed successfully. */ class SuccessResponse extends Response { /** * @param {*} result */ constructor(result) { super({ code: 200, error: null, result, }); } } module.exports = SuccessResponse;