class Twitch::BitsLeader

A user that is a leader for bits.

Attributes

rank[R]

Ranking of the user giving bits. Reflects the parent object's date range.

score[R]

Number of bits given in the parent object's date range.

user_id[R]

ID of the user giving bits.

user_name[R]

Display name of the user giving bits.

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/twitch/bits_leader.rb, line 14
def initialize(attributes = {})
  @user_id = attributes['user_id']
  @user_name = attributes['user_name']
  @rank = attributes['rank']
  @score = attributes['score']
end