get source() {
    let str = this.collectionName.toLowerCase();

    if (str.indexOf("blog") !== -1) {
      return "blog";
    }
    if (str.indexOf("twitter") !== -1) {
      return "twitter";
    }
    if (str.indexOf("pinterest") !== -1) {
      return "pinterest";
    }
    if (str.indexOf("facebook") !== -1) {
      return "facebook";
    }
    if (str.indexOf("instagram") !== -1) {
      return "instagram";
    }
    if (str.indexOf("youtube") !== -1) {
      return "youtube";
    }
    if (str.indexOf("ap-") !== -1) {
      return "ap";
    }
    if (str.indexOf("re-") !== -1) {
      return "re";
    }

    return str;
  }
/**
   * Gets the source of an Article
   *
   * @returns {string}  - The article source as provided by the fixture
   */
Gets the source of an Article
@returns {string}  - The article source as provided by the fixture
Gets the source of an Article @returns { string } - The article source as provided by the fixture
get source() {
    let str = this.collectionName.toLowerCase();
    if (str.indexOf("blog") !== -1) {
      return "blog";
    }
    if (str.indexOf("twitter") !== -1) {
      return "twitter";
    }
    if (str.indexOf("pinterest") !== -1) {
      return "pinterest";
    }
    if (str.indexOf("facebook") !== -1) {
      return "facebook";
    }
    if (str.indexOf("instagram") !== -1) {
      return "instagram";
    }
    if (str.indexOf("youtube") !== -1) {
      return "youtube";
    }
    if (str.indexOf("ap-") !== -1) {
      return "ap";
    }
    if (str.indexOf("re-") !== -1) {
      return "re";
    }
    return str;
  }
get source ( ) { let str = this . collectionName . toLowerCase ( ) ; if ( str . indexOf ( "blog" ) !== - 1 ) { return "blog" ; } if ( str . indexOf ( "twitter" ) !== - 1 ) { return "twitter" ; } if ( str . indexOf ( "pinterest" ) !== - 1 ) { return "pinterest" ; } if ( str . indexOf ( "facebook" ) !== - 1 ) { return "facebook" ; } if ( str . indexOf ( "instagram" ) !== - 1 ) { return "instagram" ; } if ( str . indexOf ( "youtube" ) !== - 1 ) { return "youtube" ; } if ( str . indexOf ( "ap-" ) !== - 1 ) { return "ap" ; } if ( str . indexOf ( "re-" ) !== - 1 ) { return "re" ; } return str ; }
Gets the source of an Article
 @returns {string}  - The article source as provided by the fixture
Gets the source of an Article @returns { string } - The article source as provided by the fixture