import { Factory } from 'ember-cli-mirage';

/**
 * Example URL: GET /kraken/users/:user/follows/channels
 */
export default Factory.extend({
  _id(i) {
    return i;
  },

  // user who is following
  userName: 'follower',

  // channel that is followed
  channel: null,
  channelName: 'followed',

  notifications: false,

  _links() {
    return {
      "self":`https://api.twitch.tv/kraken/users/${this.userName}/follows/channels/${this.channelName}`
    };
  }
});
