Class: Vapor::GamesList

Inherits:
Object
  • Object
show all
Defined in:
lib/vapor/games_list.rb

Instance Method Summary collapse

Constructor Details

#initialize(user) ⇒ GamesList

Returns a new instance of GamesList.



3
4
5
# File 'lib/vapor/games_list.rb', line 3

def initialize(user)
  @user = user
end

Instance Method Details

#gamesObject



7
8
9
# File 'lib/vapor/games_list.rb', line 7

def games
  parse_games(fetch_games)
end