<commit_before>export default class Rules {

  constructor(client) {
    this.client = client;
  }

  /**
   * List all possible portfolio rules.
   *
   * @param {object} params
   * @param {function} cb
   *
   * @returns {array}
   */
  list(params, cb) {
    return this.client.get('portfolios/rules', params, cb);
  }

}<commit_msg>fix: Route name.<commit_after>export default class Rules {

  constructor(client) {
    this.client = client;
  }

  /**
   * List all possible portfolio rules.
   *
   * @param {object} params
   * @param {function} cb
   *
   * @returns {array}
   */
  list(params, cb) {
    return this.client.get('portfolios/triggers', params, cb);
  }

}
{'fraction_non_alphanumeric': 0.14411764705882352, 'fraction_numerical': 0.0, 'mean_word_length': 2.741758241758242, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5378929', 'n_tokens_mistral': 233, 'n_tokens_neox': 227, 'n_words': 54}