Class: SteamStoreParser::Game
- Inherits:
-
Object
- Object
- SteamStoreParser::Game
- Defined in:
- lib/steam-store-parser/game.rb
Instance Attribute Summary collapse
-
#steamapp_id ⇒ Object
readonly
Returns the value of attribute steamapp_id.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title, steamapp_id) ⇒ Game
constructor
A new instance of Game.
Constructor Details
#initialize(title, steamapp_id) ⇒ Game
Returns a new instance of Game.
6 7 8 9 |
# File 'lib/steam-store-parser/game.rb', line 6 def initialize(title, steamapp_id) @title = title @steamapp_id = steamapp_id end |
Instance Attribute Details
#steamapp_id ⇒ Object (readonly)
Returns the value of attribute steamapp_id.
4 5 6 |
# File 'lib/steam-store-parser/game.rb', line 4 def steamapp_id @steamapp_id end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
3 4 5 |
# File 'lib/steam-store-parser/game.rb', line 3 def title @title end |