MadKudu/node-hubspot

View on GitHub
lib/broadcast.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class Broadcast {
  constructor(client) {
    this.client = client
  }

  get(options) {
    return this.client.apiRequest({
      method: 'GET',
      path: '/broadcast/v1/broadcasts',
      qs: options,
    })
  }
}

module.exports = Broadcast