code: function Leaderboard(leaderboardName, options, redisOptions) {
        this.leaderboardName = leaderboardName;
        if (options == null) {
          options = DEFAULT_OPTIONS;
        }
        if (redisOptions == null) {
          redisOptions = DEFAULT_REDIS_OPTIONS;
        }
        this.reverse = options['reverse'];
        this.pageSize = options['pageSize'];
        if (this.pageSize === null || this.pageSize < 1) {
          this.pageSize = Leaderboard.DEFAULT_PAGE_SIZE;
        }
        this.memberKeyOption = options['memberKey'] || 'member';
        this.rankKeyOption = options['rankKey'] || 'rank';
        this.scoreKeyOption = options['scoreKey'] || 'score';
        this.memberDataKeyOption = options['memberDataKey'] || 'member_data';
        this.memberDataNamespace = options['memberDataNamespace'] || 'member_data';
        this.redisConnection = redisOptions['redis_connection'];
        if (this.redisConnection != null) {
          delete redisOptions['redis_connection'];
        }
        if (this.redisConnection == null) {
          this.redisConnection = redis.createClient(redisOptions['port'], redisOptions['host']);
        }
      }
docs: /*
  Create a new instance of a leaderboard.
  
  @param leaderboardName [String] Name of the leaderboard.
  @param options [Hash] Options for the leaderboard such as +'pageSize'+.
  @param redisOptions [Hash] Options for configuring Redis.