export default class User {
  constructor(params) {
    this.email = params.email;
    this.name = params.name;
    this.gravatar = params.gravatar;
    this.status = params.activity_status;
    this.activities = {
      duration: params.duration,
      amount: params.amount
    };
  }
}

export default class User {
  constructor(params) {
    this.id = params.id;
    this.email = params.email;
    this.name = params.name;
    this.gravatar = params.gravatar;
    this.status = params.activity_status;
    this.slackUserName = params.slack_user_name;
    this.activities = {
      duration: params.duration,
      amount: params.amount
    };
  }
}

Add workout url and slack name to user
Add workout url and slack name to user