index.js
function TripCase (options) {
  if (!options || !options.email || !options.password) throw 'Missing required options';

  this.email = options.email;
  this.password = options.password;
  this.session = null;

  return this;
}
function TripCase (options) {
  if (!options || !options.email || !options.password) throw 'Missing required options';

  this.email = options.email;
  this.password = options.password;
  this.session = null;

  return this;
}
TripCase API client constructor Requires an email and password in options