<commit_before>/**
 * Rotten Tomatoes DVD lists
 * http://developer.rottentomatoes.com/docs/json/v10/DVD_Lists_Directory
 */
angular.module('ngRottenTomatoes')
.service('rottenTomatoesDvds', function(rottenTomatoesApi) {
  /**
   * @return {HttpPromise}
   */
  function _topRentals() {
    return rottenTomatoesApi.request('/');
  }

  /**
   * @return {HttpPromise}
   */
  function _currentReleases() {
    return rottenTomatoesApi.request('/');
  }

  /**
   * @return {HttpPromise}
   */
  function _newReleases() {
    return rottenTomatoesApi.request('/');
  }

  /**
   * @return {HttpPromise}
   */
  function _upcoming() {
    return rottenTomatoesApi.request('/');
  }

  return {
    topRentals: _topRentals,
    currentReleases: _currentReleases,
    newReleases: _newReleases,
    upcoming: _upcoming
  };
});<commit_msg>Add some doc to dvds list<commit_after>/**
 * Rotten Tomatoes Service to retrieve DVDs lists.
 * http://developer.rottentomatoes.com/docs/json/v10/DVD_Lists_Directory
 * @requires rottenTomatoesApi
 * @return {Object}
 *
 * @description
 * Exposes all DVD list methods available on Rotten Tomatoes directory:
 *  - Top Rentals
 *  - Current Relesases
 *  - New Releases
 *  - Upcoming
 */
angular.module('ngRottenTomatoes')
.service('rottenTomatoesDvds', function(rottenTomatoesApi) {
  /**
   * Retrieves the current top dvd rentals.
   * http://developer.rottentomatoes.com/docs/json/v10/Top_Rentals
   * @param {Object} params The accepted parameters.
   * @config {Integer} [limit] Limits the number returned data.
   * @config {String} [country] The country to get data.
   * @return {HttpPromise}
   */
  function _topRentals(params) {
    return rottenTomatoesApi.request('/');
  }

  /**
   * Retrieves current release dvds.
   * http://developer.rottentomatoes.com/docs/json/v10/Current_Release_DVDs
   * @param {Object} params The accepted parameters.
   * @config {Integer} [pageLimit] The amount of data to show per page.
   * @config {Integer} [page] The selected page.
   * @config {String} [country] The country to get data.
   * @return {HttpPromise}
   */
  function _currentReleases(params) {
    return rottenTomatoesApi.request('/');
  }

  /**
   * Retrieves new release dvds.
   * http://developer.rottentomatoes.com/docs/json/v10/New_Release_DVDs
   * @param {Object} params The accepted parameters.
   * @config {Integer} [pageLimit] The amount of data to show per page.
   * @config {Integer} [page] The selected page.
   * @config {String} [country] The country to get data.
   * @return {HttpPromise}
   */
  function _newReleases(params) {
    return rottenTomatoesApi.request('/');
  }

  /**
   * Retrieves new release dvds.
   * http://developer.rottentomatoes.com/docs/json/v10/Upcoming_DVDs
   * @param {Object} params The accepted parameters.
   * @config {Integer} [pageLimit] The amount of data to show per page.
   * @config {Integer} [page] The selected page.
   * @config {String} [country] The country to get data.
   * @return {HttpPromise}
   */
  function _upcoming(params) {
    return rottenTomatoesApi.request('/');
  }

  return {
    topRentals: _topRentals,
    currentReleases: _currentReleases,
    newReleases: _newReleases,
    upcoming: _upcoming
  };
});
{'fraction_non_alphanumeric': 0.1279284833538841, 'fraction_numerical': 0.0036991368680641184, 'mean_word_length': 3.532122905027933, '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': '7279964', 'n_tokens_mistral': 1081, 'n_tokens_neox': 1053, 'n_words': 251}