class Twitch::Game

A filterable category for a stream.

(not necessarily limited to games, e.g. 'IRL')

Attributes

box_art_url[R]

Box art URL template.

Substitute the {width} and {height} string tokens with your desired numeric values.

id[R]

ID of the game.

name[R]

Name of the game

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/twitch/game.rb, line 15
def initialize(attributes = {})
  @id = attributes['id']
  @name = attributes['name']
  @box_art_url = attributes['box_art_url']
end