import MapRoutes from './mapRoutes'; import Segments from './segments'; import SegmentRatings from './segmentRatings'; import Users from './users'; import Info from './info'; export default class { constructor (host, auth, headers) { this.host = host; this.MapRoutes = new MapRoutes(host, auth, headers); this.Segments = new Segments(host, auth, headers); this.SegmentRatings = new SegmentRatings(host, auth, headers); this.Users = new Users(host, auth, headers); this.Info = new Info(host, auth, headers); } getHost () { return this.host; } }