BaseClass = require './common/base_class'
class Locations extends BaseClass
endpoints:
list: '/topics/:slug/location/pins'
sentiment: '/topics/:slug/location/sentiment'
list: (slug, opts = {}, callback) ->
@request 'GET', @replaceUrlParams({'slug': slug}, @endpoints.list), opts, callback
sentiment: (slug, opts = {}, callback) ->
@request 'GET', @replaceUrlParams({'slug': slug}, @endpoints.sentiment), opts, callback
module.exports = Locations