All files / lib/resources companySegments.js

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27                                                     
/**
 * @name CompanySegments
 * @description This module exposes functions
 *              related to the `/company_segments` path.
 *
 * @module CompanySegments
 **/
 
import routes from '../routes'
import request from '../request'
 
/**
 * `GET /company_segments`
 * Makes a request to /company_segments
 *
 * @param {Object} opts An options params which
 *                      is usually already bound
 *                      by `connect` functions.
 *
*/
 
const all = opts => request.get(opts, routes.companySegments)
 
export default {
  all,
}