Class: Twitch::V2::GameSuggestion
- Inherits:
-
Object
- Object
- Twitch::V2::GameSuggestion
- Defined in:
- lib/kappa/game.rb
Overview
A game suggestion returned by Twitch when searching for games via Twitch.games.find
.
Instance Attribute Summary collapse
-
#box_images ⇒ Images
readonly
Set of images for the game's box art.
-
#giantbomb_id ⇒ Fixnum
readonly
Unique game ID for GiantBomb.com.
-
#id ⇒ Fixnum
readonly
Unique Twitch ID.
-
#logo_images ⇒ Images
readonly
Set of images for the game's logo.
-
#name ⇒ String
readonly
Game name.
-
#popularity ⇒ Fixnum
readonly
Relative popularity metric.
Instance Attribute Details
#box_images ⇒ Images (readonly)
Returns Set of images for the game's box art.
120 121 122 |
# File 'lib/kappa/game.rb', line 120 def box_images @box_images end |
#giantbomb_id ⇒ Fixnum (readonly)
Returns Unique game ID for GiantBomb.com.
112 113 114 |
# File 'lib/kappa/game.rb', line 112 def giantbomb_id @giantbomb_id end |
#id ⇒ Fixnum (readonly)
Returns Unique Twitch ID.
102 103 104 |
# File 'lib/kappa/game.rb', line 102 def id @id end |
#logo_images ⇒ Images (readonly)
Returns Set of images for the game's logo.
123 124 125 |
# File 'lib/kappa/game.rb', line 123 def logo_images @logo_images end |
#name ⇒ String (readonly)
Returns Game name.
107 108 109 |
# File 'lib/kappa/game.rb', line 107 def name @name end |
#popularity ⇒ Fixnum (readonly)
Returns Relative popularity metric. Higher number means more popular. This value only has meaning relative to other popularity values.
117 118 119 |
# File 'lib/kappa/game.rb', line 117 def popularity @popularity end |