Hub

All hub methods respond with a promise.

Fetch authenticated hub's information.

api.fetchHub().then((hub) => {
    console.log(hub.name); // hubdot
});

Last updated