Class: SteamStoreParser::Game

Inherits:
Object
  • Object
show all
Defined in:
lib/steam-store-parser/game.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject (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

#titleObject (readonly)

Returns the value of attribute title.



3
4
5
# File 'lib/steam-store-parser/game.rb', line 3

def title
  @title
end