Class: Gogcom::Game
- Inherits:
-
Object
- Object
- Gogcom::Game
- Defined in:
- lib/gogcom/game.rb
Instance Method Summary collapse
-
#get ⇒ Object
Main method to get game data.
-
#initialize(options) ⇒ Game
constructor
A new instance of Game.
Constructor Details
#initialize(options) ⇒ Game
Returns a new instance of Game.
4 5 6 |
# File 'lib/gogcom/game.rb', line 4 def initialize() @name = [:name] || nil end |
Instance Method Details
#get ⇒ Object
Main method to get game data
9 10 11 |
# File 'lib/gogcom/game.rb', line 9 def get() parse(fetch()) end |