conveyal/modeify

View on GitHub
client/journey/index.js

Summary

Maintainability
A
1 hr
Test Coverage
var config = require('../config')
var model = require('component-model')

/**
 * Expose `Journey`
 */

module.exports = model('Journey')
  .route(config.api_url() + '/journeys')
  .attr('_id')
  .attr('created_by')
  .attr('locations')
  .attr('opts')