class Twitch::User
Attributes
broadcaster_type[R]
Represents a special broadcaster role of a user. (partner, affilaite)
description[R]
Description/biographical info of a user.
display_name[R]
Formatted username of the user.
id[R]
ID of the user.
login[R]
Unformatted (lowercase) username of the user.
offline_image_url[R]
URL to the image displayed in the video box when the stream is offline.
profile_image_url[R]
URL to the user's profile image.
type[R]
Represents a special role of a user. (global mod, admin, staff)
view_count[R]
Total number of visits to the user's stream page.
Public Class Methods
new(attributes = {})
click to toggle source
# File lib/twitch/user.rb, line 25 def initialize(attributes = {}) attributes.each do |k, v| instance_variable_set("@#{k}", v) end end